ODBC

In order to use ODBC you must place an entry in the odbcinst.ini file.

Example 6-1. odbcinst.ini file

[MDBTools]
Description = MDBTools Driver
Driver = /usr/local/lib/libmdbodbc.so
Setup = /usr/local/lib/libmdbodbc.so
FileUsage = 1

You will also need an entry in odbc.ini for each DSN.

Example 6-2. odbc.ini file

[Northwind]
Description = Northwind Sample Database
Driver = MDBTools
Database = /data/mdbfiles/Northwind.mdb

Consult the unixODBC documentation for full details.