[unixODBC-support] ODBC driver manager PATH

Steve Cookson steve.cookson at sca-uk.com
Tue Oct 20 00:56:20 BST 2009


Peter Harvey wrote:

>Steve, ODBCConfig will not be able to config a DSN unless its given a
>viable 'Setup' library. I am not sure if Firebird has one or if its
>embedded in the driver. You can also use a generic one. Unless you need
>to be easy (read; you are rolling out unixODBC to desktops and End User
>types need to config DSN - then I would recommend just editing the file.

Fine, but see below

>In this case you want to edit the system INI (odbc.ini) and you can get
>its location like this;
>$ odbcinst -j

This gives:

DRIVERS			:/etc/odbcinst.ini	(has the stuff I set up from
ODBCConfig - which crashed)
SYSTEM DATA RESOURCES	:/etc/odbc.ini		(empty)
USER DATA SOURCES		:/home/steve/.odbc.ini	(does not exist)

What do you think?

It would seem I may have missed out a step.

Regards

Steve



More information about the unixODBC-support mailing list