xxxxxxxxxx
//Documentation
https://go.dev/doc/install
//Download stable version
https://go.dev/dl/
//Remove any previous go
sudo rm -rf /usr/local/go
//Go installation
sudo tar -C /usr/local -xzf gox.x.x.linux-amd64.tar.gz
//Add /usr/local/go/bin to the PATH environment variable
export PATH=$PATH:/usr/local/go/bin
//Do you want to persistent:
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
//Verify that you've installed Go by opening a command prompt and typing the following command
go version
xxxxxxxxxx
wget https://dl.google.com/go/go1.17.linux-amd64.tar.gz
sudo tar -xvf go1.17.linux-amd64.tar.gz
sudo mv go /usr/local
sudo ln -s /usr/local/go/bin/* /usr/bin
rm go1.17.linux-amd64.tar.gz
xxxxxxxxxx
//Documentation
https://go.dev/doc/install
//Download stable version
https://go.dev/dl/
//Remove any previous go
sudo rm -rf /usr/local/go
//Go installation
sudo tar -C /usr/local -xzf gox.x.x.linux-amd64.tar.gz
//Add /usr/local/go/bin to the PATH environment variable
export PATH=$PATH:/usr/local/go/bin
//Do you want to persistent:
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
//Verify that you've installed Go by opening a command prompt and typing the following command
go version
xxxxxxxxxx
wget https://dl.google.com/go/go1.18.linux-amd64.tar.gz
sudo tar -xvf go1.18.linux-amd64.tar.gz
xxxxxxxxxx
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz
xxxxxxxxxx
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
xxxxxxxxxx
This error occurs because the SQL Server is using a certificate that isn't trusted by the machine.
1. Trust Server Certificate
Modify the connection string to include TrustServerCertificate=True. This setting will ignore SSL validation and allow the connection:
string connectionString = "Server=your_server;Database=your_database;User Id=your_user;Password=your_password;TrustServerCertificate=True;";
2. Update SQL Server Certificate
3. Install Certificate Manually
4. Update SQL Client Library
5. Check SSL/TLS Protocol Version