[unixODBC-dev] how to know which odbc.ini and odbcinst.ini are being used?

Nick Gorham nick at lurcher.org
Thu Feb 23 17:44:42 GMT 2012

On 23/02/12 16:24, Jaime Stuardo wrote:
> Hello..
> I have a simple question..... I have 3 odbc.ini and odbcinst.ini files in my
> RHEL5 system. How can I know which ones are used by unixODBC?
> Thanks
> Jaime

New way

odbc_config --odbcini

Older way

odbcinst -j

Debug way, use strace and isql and see what files are being opened.

Remember you can override usign ODBCINI and ODBCSYSINI env variables.


More information about the unixODBC-dev mailing list