1odbcinst.ini(5)              unixODBC manual pages             odbcinst.ini(5)
2
3
4

NAME

6       /etc/odbcinst.ini - An unixODBC drivers configuration
7
8

DESCRIPTION

10       /etc/odbcinst.ini is a text configuration file for unixODBC drivers. It
11       can be edited by hand, but the recommended way to update this  file  is
12       to use the odbcinst(1) utility.
13
14

FILE FORMAT

16       The general .ini file format is:
17
18              [SectionName1]
19              key1 = value1
20              key2 = value2
21              ...
22
23              [SectionName2]
24              key1 = value1
25              key2 = value2
26              ...
27
28       Each ODBC driver has its own section and can be referred to by the name
29       of its section. Recognized configuration keys are:
30
31
32       Description
33              A text string briefly describing the driver.
34
35
36       Driver A filesystem path to the actual driver library.
37
38
39       Setup  A filesystem path to the driver setup library.
40
41
42       FileUsage
43              odbcinst(1) entry, if you edit the configuration file  by  hand,
44              you have to supply it yourself.
45
46
47   TEMPLATE FILES
48       The  recommended  way  to  manage  the drivers is using the odbcinst(1)
49       utility. You can install the drivers  by  supplying  it  with  template
50       file, which has the same format as this file.
51
52

EXAMPLES

54       An example of the actual PostgreSQL driver:
55
56              [PostgreSQL]
57              Description = PostgreSQL driver for GNU/Linux
58              Driver      = /usr/lib/psqlodbcw.so
59              Setup       = /usr/lib/libodbcpsqlS.so
60              FileUsage   = 1
61
62       By  specifying  the  driver like that, you can then reference it in the
63       odbc.ini(5) as follows:
64
65              Driver = PostgreSQL
66
67       The recommended way to add that driver is by creating a  template  file
68       containing:
69
70              [PostgreSQL]
71              Description = PostgreSQL driver for GNU/Linux
72              Driver      = /usr/lib/psqlodbcw.so
73              Setup       = /usr/lib/libodbcpsqlS.so
74
75       and call the odbcinst(1):
76
77              # odbcinst -i -d -f template.ini
78
79

SEE ALSO

81       odbcinst(1), odbc.ini(5)
82
83

AUTHORS

85       The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and
86       Nick Gorham <nick@lurcher.org>. For the full list of  contributors  see
87       the AUTHORS file.
88
89
91       unixODBC  is  licensed under the GNU Lesser General Public License. For
92       details about the license, see the COPYING file.
93
94
95
96version 2.3.6                   Thu 27 Jun 2013                odbcinst.ini(5)
Impressum