[unixODBC-support] odbc.ini and odbcinst.ini issues

CJoeB colleen.beamer at gmail.com
Tue Oct 9 06:22:53 BST 2007


Stein, Howard wrote:
> I've only used unixODBC with Solaris and Oracle but perhaps the
> following which apply in that environment might be of use to you.
>
> If your version of unixODBC is recent enough, you can use odbcinst -j to
> verify what odbc.ini and what odbcinst.ini file you are using.  
>
> If the locations reported by odbcinst -j is not what you thought, you
> can override them by setting the following environment variables.
> ODBCINI=/my/path/odbc.ini and ODBCSYSINI=/my/path.
>   
Thanks.  This helped.  It was looking for odbc.ini and odbcinst.ini in
/etc/unixODBC/.  I just copied my files into that location and then
everything worked.  Thanks for the tip on odbcinst -j.

Regards,

Colleen



More information about the unixODBC-support mailing list