mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Document odbcinst.ini entry
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
]>
|
||||
<book>
|
||||
<bookinfo>
|
||||
<date>$Date: 2004/03/13 15:07:19 $</date>
|
||||
<releaseinfo>$Revision: 1.4 $</releaseinfo>
|
||||
<date>$Date: 2004/09/24 05:08:12 $</date>
|
||||
<releaseinfo>$Revision: 1.5 $</releaseinfo>
|
||||
<title><productname>MDB Tools</productname> Installation Guide</title>
|
||||
<subtitle>A Guide to Installing and Configuring <productname>MDB Tools</productname></subtitle>
|
||||
<author>
|
||||
@@ -34,9 +34,9 @@ This guide is intended to provide help with installing and configuring the <prod
|
||||
<para>
|
||||
A few technical notes. This guide is written in SGML DocBook format, specifications for which are found in the <ulink url="http://www.docbook.org/tdg/en/html/docbook.html">DocBook book</ulink>. It was converted to HTML with <ulink url="http://openjade.sourceforge.net">OpenJade</ulink>.
|
||||
The document you are reading is version
|
||||
$Revision: 1.4 $
|
||||
$Revision: 1.5 $
|
||||
, dated
|
||||
$Date: 2004/03/13 15:07:19 $ (CVS control number $Id: install.sgml,v 1.4 2004/03/13 15:07:19 brianb Exp $). The most recent version can be found on the <productname>MDB Tools</productname>
|
||||
$Date: 2004/09/24 05:08:12 $ (CVS control number $Id: install.sgml,v 1.5 2004/09/24 05:08:12 whydoubt Exp $). The most recent version can be found on the <productname>MDB Tools</productname>
|
||||
<ulink url="http://mdbtools.sourceforge.net/userguide/">web site</ulink>.
|
||||
</para>
|
||||
</preface>
|
||||
@@ -353,14 +353,27 @@ The MDBPATH variable affects all utilities and any program calling mdb_open().
|
||||
<sect1 id="odbcini">
|
||||
<title>ODBC</title>
|
||||
<para>
|
||||
In order to use ODBC you must place an entry in the <filename>odbc.ini</filename> file.
|
||||
In order to use ODBC you must place an entry in the <filename>odbcinst.ini</filename> file.
|
||||
</para>
|
||||
<example>
|
||||
<title><filename>odbcinst.ini</filename> file</title>
|
||||
<programlisting>
|
||||
[MDBTools]
|
||||
Description = MDBTools Driver
|
||||
Driver = /usr/local/lib/libmdbodbc.so
|
||||
Setup = /usr/local/lib/libmdbodbc.so
|
||||
FileUsage = 1
|
||||
</programlisting>
|
||||
</example>
|
||||
<para>
|
||||
You will also need an entry in <filename>odbc.ini</filename> for each DSN.
|
||||
</para>
|
||||
<example>
|
||||
<title><filename>odbc.ini</filename> file</title>
|
||||
<programlisting>
|
||||
[Northwind]
|
||||
Description = Northwind Sample Database
|
||||
Driver = /usr/local/lib/libmdbodbc.so
|
||||
Driver = MDBTools
|
||||
Database = /data/mdbfiles/Northwind.mdb
|
||||
</programlisting>
|
||||
</example>
|
||||
|
Reference in New Issue
Block a user