Using SQL Server from Linux

By default, Compass on Linux uses Microsoft ODBC Driver 17 for SQL Server (version 17.4).

To use Microsoft ODBC Driver 18, perform the following steps:
  1. Follow the directions from Microsoft to install the ODBC driver version 18 for SQL Server on Linux.
  2. Locate the cqodbcinst.ini file in the Compass installation. This file can be found in the linux_x86-64/resources/ directory of the installation.
  3. Edit the cqodbcinst.ini file so that the following section points at the newly installed driver:
    [CCM Microsoft ODBC Driver for SQL Server]
    Description=Microsoft ODBC Driver 18 for SQL Server
    Driver=/opt/microsoft/msodbcsql18/lib64/libmsodbcsql-18.5.so.1.1