ODBC
Open Database Connectivity (ODBC) is a standard application programming interface (API) for accessing database management systems (DBMS). OmniSciDB supports ODBC connections.
The OmniSci ODBC installer tool filename has the following format:
For example:
For assistance with downloading OmniSci ODBC software and utilities, contact your OmniSci Sales Representative.
Connecting from Microsoft Windows Using ODBC
While there are many ways to connect to ODBC, perhaps the most common is to connect from a Windows 10 client using Tableau or Excel. OmniSci provides an ODBC connection utility to help you get started.
To configure your ODBC datasource:
Run the OmniSci Installer Tool provided by your OmniSci Sales Representative.
Enter the path to the ODBC driver (default is
C:\OmniSci\ODBC\bin\
).Click OK.
Wait for the “SUCCESS!” message. Click OK.
Open your Windows control panel.
Open either the 32-bit or 64-bit version of ODBC Data Source Administrator, depending on the application you are connecting to the driver.
Click Add....
Enter the user Name (for example, omnisci), Platform, and Driver (OmniSciDriver).
In OmniSci ODBC Driver DSN Setup:
Enter an optional Description for your data source.
Enter the User (for example, OmniSci).
Enter the Password for your data source.
Enter the Host:Port values (for example,
myhost.omnisci.com:6274
).Enter the Database name (for example,
omnisci
).Enter the Max rows returned (for example,
10000
).Select the Protocol Type to connect to the OmniSci Web server: HTTP, HTTPS, Binary, or Binary Encrypted. Note: If you select HTTPS or Binary Encrypted, you must enable encrypted connections using the Microsoft Management Console.
If you want to ease server certificate validation requirements, select Ignore Invalid Certificates (not recommended). If you do this, the CN name in the certificate is not required to match the network name of the host from which it was received.
In Connection Timeout, enter the time interval (in seconds) used to terminate the failed connection attempts.
Click Test.
Wait for the “Success!” message. Click OK.
Using HTTPS and Binary Encryption
In OmniSci ODBC Driver DSN Setup, if you set your protocol type to HTTPS or Binary Encrypted, follow these instructions to enable an encrypted connection:
Open the Microsoft Management Console (MMC).
On the File menu, select Add/Remove Snap-ins.
In the Available snap-ins list box, select Certificates.
In the Certificates snap-in box, select Computer Account, and then click Next.
Select Local Computer, and click Finish, and in the Add or Remove Snap-ins window, click OK.
In the left pane of the Console Root window, right-click the Trusted Root Certificate Authorities folder, click All tasks, and then click Import....
In the Certificate Import Wizard, click Next.
Click Browse, select the certificate file to import, and click Finish.
Installing ODBC on Linux
Follow these steps to configure OmniSciDB ODBC connections on Linux.
If required, install unixODBC, which you use to test that the OmniSci ODBC driver configuration is working correctly:
For RHEL/Centos:
For Ubuntu/Debian:
Type y when prompted to install the package.
Validate that
isql
is installed by running it from the shell:If installed correctly, you see output showing the
isql
syntax and options.Create a folder for the ODBC driver:
Change to the folder you just created:
Download the OmniSci Linux ODBC driver:
Edit the /etc/odbc.ini file by changing the properties and values to values appropriate for your OmniSci installation. The included /configuration/odbc.ini.skeleton file (show below) provides a template and information about available options.
If SERVER_CA_CERT is supplied, it overrides the default search path.
Invalid non-mandatory options--for example, those that have misspellings--are ignored and do not generate errors.
Edit the /etc/odbcinst.ini file by changing the following properties/values in bold to values appropriate for your OmniSci installation.
Your odbcinst.ini file might be empty or might already contain other entries. If your file contains other entries, add the new entries to the end of the file and do not overwrite existing entries.
Create a symbolic link to the error messages folder for the OmniSci driver library:
Test the installation and connection using
isql
:If you receive an error message, your connection is not successfully configured. Check the connection properties in /etc/odbc.ini.
If SERVER_CA_CERT is supplied, it overrides the default search path. Invalid nonmandatory options--for example, those that have misspellings--are ignored and do not generate errors.
Supported ODBC Functions
OmniSciDB supports the following Tier 1 (Core) ODBC functions:
Unsupported ODBC Functions
OmniSciDB does not support the following ODBC functions at this time.
Unsupported ODBC Features
OmniSciDB does not support the following ODBC features at this time.
Batch statements
Multiple result sets
Domains
Rules
Database procedures
Indexes
Keys
Transactions
Schemas (any client can see tables and views created by any user without restriction)
Rollbacks, checkpoints, or any other type of database recovery
Last updated