Re: how to know which odbc.ini and odbcinst.ini are being used?

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
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.

-- 
Nick

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.