Home | Previous Page | Next Page   Configuring Data Sources > Configuring a DSN on UNIX >

Setting the $ODBCINI Environment Variable

By default, IBM Informix ODBC Driver uses configuration information found in the $HOME/.odbc.ini file. If you want to provide access to your DSN by system users, modify the path in the $ODBCINI environment variable to point to another configuration file that also contains the configuration information found in the $HOME/.odbc.ini file. Then change the configuration file permissions to allow read access for system users. Do not change the permissions to the $HOME/.odbc.ini file.

In the following example, the configuration filename is myodbc.ini:

setenv ODBCINI /work/myodbc.ini 
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]