macOS DSN Configuration
This section shows how to set up ODBC connectivity and configure DSNs on macOS.
Minimum macOS Version
The CData ODBC Driver for Microsoft SQL Server Analysis Services driver requires macOS Sierra (10.12) or above.
Licensing the Driver
In a terminal, run the following commands to license the driver. To activate a trial, omit the <key> input.
cd "/Applications/CData ODBC Driver for Microsoft SQL Server Analysis Services/bin"
sudo ./install-license.sh <key>
You'll be prompted for a name and password. These refer to your name and your machine's password.
Connecting to Microsoft SQL Server Analysis Services
To connect, set the Url property to a valid Microsoft SQL Server Analysis Services endpoint and provide authentication. The driver must connect to Microsoft SQL Server Analysis Services instances hosted over HTTP with XMLA access. See the Microsoft documentation to configure HTTP access to Microsoft SQL Server Analysis Services.
Authenticating to Microsoft SQL Server Analysis Services
The driver supports the major authentication schemes, including HTTP and Windows.
Set AuthScheme to use the following authentication types.
Anonymous Authentication
If anonymous authentication is available, set AuthScheme to none to avoid authentication.
Basic
Set SQL Server database User and Password and set AuthScheme to "BASIC".
Windows (NTLM)
Set the Windows User and Password and set AuthScheme to "NTLM".
Kerberos
Please see Using Kerberos for details on how to authenticate with Kerberos.
Securing Microsoft SQL Server Analysis Services Connections
By default, the driver attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.
Uninstalling the Driver
The easiest way to uninstall the driver is to open a terminal and run the included uninstall.sh script, located in the installation directory. For example:
cd "/Applications/CData ODBC Driver for Microsoft SQL Server Analysis Services" sudo ./uninstall.sh
Note: The script needs to be run from the installation directory.