Please fill bugs/questions/issues on our Issues page.
If you have any questions on how to manually uninstall, feel free to leave a comment below. An ODBC Data Source consists of a descriptive name that you provide and a SQL Server database that it represents.
If you installed the driver using the manual instructions found here, you will have to manually uninstall the ODBC Driver and the unixODBC Driver Manager to use the deb/rpm packages.
Gcc sample_c_linux.c -o sample_c_linux -lodbc -w #make sure you change the servername, username and password in the connections string To download the sample and get started, follow these steps:
Once you install the driver that runs on a supported Linux distro, you can use this C sample to connect to SQL Server/Azure SQL DB/Azure SQL DW. Sudo zypper install unixODBC-devel Try Our Sample Sudo ACCEPT_EULA=Y zypper install msodbcsql-13.1.4.0-1 Sudo yum install unixODBC-devel Install the ODBC Driver for SLES 12 Sudo yum install unixODBC-devel Install the ODBC Driver for Linux on RedHat 7 Microsoft ODBC Driver 17 for SQL Server should be used to create new applications or enhance existing applications that need to take advantage of newer SQL. Sudo ACCEPT_EULA=Y yum install msodbcsql-13.1.4.0-1 Sudo yum remove unixODBC-utf16 unixODBC-utf16-devel #to avoid conflicts Sudo apt-get install unixodbc-dev Install the ODBC Driver for Linux on RedHat 6Ĭurl > /etc//mssql-release.repo Sudo apt-get install unixodbc-dev Install the ODBC Driver for Linux on Ubuntu 16.10 Sudo apt-get install unixodbc-dev Install the ODBC Driver for Linux on Ubuntu 16.04 Sudo ACCEPT_EULA=Y apt-get install msodbcsql=13.1.4.0-1 You'll need to connect using the 'SQL Server Native Client' driver instead of the 'SQL Server' driver. Install the ODBC Driver for Linux on Ubuntu 15.10Ĭurl > /etc/apt//mssql-release.list Although the SQL 2005 Server understand MARS, you'll need to use the SQL 2005 driver in order for your application to be able to use it.
Check out code samples and more information here.