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 SybaseIQ 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 SybaseIQ/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 SybaseIQ
To connect to the SybaseIQ, specify the following connection properties:
- Server: Set this to the name or network address of the SybaseIQ or SAP SQL Anywhere database instance.
- Database: Set this to the name of the SybaseIQ or SAP SQL Anywhere database running on the specified Server.
Optionally, you can also secure your connections with TLS/SSL by setting UseSSL to true.
Note: It is also possible to connect to an instance of SAP SQL Anywhere with the above driver configuration.
Authenticating to SybaseIQ
SybaseIQ supports several methods for authentication including basic, Kerberos, and, LDAP.
Basic
Set the AuthScheme to Basic and set the following connection properties to use SybaseIQ authentication.
- User: Set this to the username of the authenticating SybaseIQ user.
- Password: Set this to the username of the authenticating SybaseIQ user.
LDAP
To connect with LDAP authentication, you will need to configure SybaseIQ server-side to use the LDAP authentication mechanism.
After configuring SybaseIQ for LDAP, you can connect using the same credentials as basic authentication.
Kerberos
To leverage Kerberos authentication, begin by enabling it via the following connection property:
- AuthScheme: Set to Kerberos will be used for authentication to SybaseIQ.
You can find an example connection string below:
Server=MyServer;Port=MyPort;User=SampleUser;Password=SamplePassword;Database=MyDB;Kerberos=true;KerberosKDC=MyKDC;KerberosRealm=MYREALM.COM;KerberosSPN=server-name
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 SybaseIQ" sudo ./uninstall.sh
Note: The script needs to be run from the installation directory.