[unixODBC-support] Defining DSN and Driver

Rich Shepard rshepard at appl-ecosys.com
Mon Jan 19 21:31:50 GMT 2015


On Mon, 19 Jan 2015, Nick Gorham wrote:

> You just need to create a entry in /etc/odbc.ini

Nick,

   Have those:

 	/etc/odbc.ini
[SQLite]
Description=SQLite ODBC Driver
Driver=/usr/local/lib/libsqlite3odbc.so
Setup=/usr/local/lib/libsqlite3odbc.so
Threading=2

 	/etc/obcinst.ini
[SQLite]
Description=SQLite ODBC Driver
Driver=/usr/local/lib/libsqlite3odbc.so
Setup=/usr/local/lib/libsqlite3odbc.so
Threading=2

 	~/.odbc.ini
[no-mdf-banquetdb]
Description=North Oregon MDF chapter banquet database
Driver=SQLite3
Database=/documents/mdf/banquet-mgr/or-mdf-banquet.db
Timeout=2000

   Is there a syntax error in any of these?

Thanks,

Rich


More information about the unixODBC-support mailing list