ODBCINI

 

Specifies the full path to the the odbc.ini file.

 

Syntax:

 

ODBCINI=<path>

 

Usage:

 

The ODBCINI environment variable specifies the full path to the odbc.ini file. The odbc.ini file contains information about ODBC Data Source Names or DSN which are required to connect to databases, and configuration parameters, specific for the ODBC Driver.

The ODBCINI environment variable should be set on Linux. On Windows, the odbc.ini file path is stored in the Registry.

 

The ODBCINI environment variable applies at runtime (inet.env) and at compilation (env.properties).

 

Example:

 

Sets the full path to the odbc.ini file:

 

ODBCINI=/etc/odbc.ini

 

 

Related articles:

ODBC client

ODBC_DSN

SQLSERVER