skip to main content
Using the ODBC Client : Configuring Local ODBC Client Data Sources on Linux and UNIX : Using a Centralized System Information File
 

Using a Centralized System Information File

Because Linux and UNIX are multi-user environments, you may want to use a single centralized odbc.ini file controlled by a system administrator. To do this, set the ODBCINI environment variable to point to the fully qualified pathname of the centralized file.
For example:
In the Bourne or Korn shell, type:
ODBCINI=/opt/odbc/system_odbc.ini;export ODBCINI
In the C shell, type:
setenv ODBCINI /opt/odbc/system_odbc.ini
The odbc.ini file also require an [ODBC] section that includes the InstallDir keyword. The value of the InstallDir keyword must be the path to the directory that contains the /lib and /messages directories.
For example, if you choose the default installation directory for the 32-bit Local ODBC Client, the following line must be in the [ODBC] section of the odbc.ini file:
InstallDir=/usr/oaodbc810