UNIX

Information about the ODBC Driver installed on the system is saved in the odbcinst.ini file. This file is typically located at /etc/odbcinst.ini.

The information about datasources is saved in one of these files:

The ODBC Driver Manager looks up these files at runtime when an application requests a connection to a datasource.

Refer to your ODBC Driver Manager documentation for the exact path for these ini files. Some Driver Manager use alternate locations.

If your application is not using ODBC Driver Manager and uses the Adaptive Server ODBC Driver directly, the ini file is searched differently: The Adaptive Server ODBC Driver first looks for a file named odbc.ini in the current working directory; if the file is not found or the datasource not found in the file, it looks for $SYBASE/odbc.ini.

If your application uses the Sybase iAnywhere ODBC Driver Manager, set the ODBCINI environment variable to the complete path to the odbc.ini file. By default, odbc.ini is located under $SYBASE.