Configuring a Connection
After Installing the Connector you can connect and create a Data Source for data in SybaseIQ.
Setting Up a Data Source
Complete the following steps to connect to the data:
- Under Connect | To a Server, click More....
- Select the data source called SybaseIQ by CData.
- Enter the information required for the connection.
- Click Sign In.
- If necessary, select a Database and Schema to discover what tables and views are available.
Using the Connection Builder
The connector makes the most common connection properties available directly in Tableau. However, it can be difficult to use if you need to use more advanced settings or need to troubleshoot connection issues. The connector includes a separate connection builder that allows you to create and test connections outside of Tableau.
There are two ways to access the connection builder:
- On Windows, use a shortcut called Connection Builder in the Start menu, under the CData Tableau Connector for SybaseIQ folder.
- You can also start the connection builder by going to the driver install directory and running the .jar file in the lib directory.
In the connection builder, you can set values for connection properties and click Test Connection to validate that they work. You can also use the Copy to Clipboard button to save the connection string. This connection string can be given to the Connection String option included in the connector connection window in Tableau.
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 connector 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
Next Step
See Using the Connector to create data visualizations.