GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ODBCINST.INI (5)

NAME

/etc/odbcinst.ini - An unixODBC drivers configuration

CONTENTS

Description
File Format
     Template Files
Examples
Authors
Copyright

DESCRIPTION

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

FILE FORMAT

The general .ini file format is:


[SectionName1] 

key1 = value1 

key2 = value2 

... 

[SectionName2] key1 = value1 key2 = value2 ...

Each ODBC driver has its own section and can be referred to by the name of its section. Recognized configuration keys are:

Description A text string briefly describing the driver.

Driver A filesystem path to the actual driver library.

Setup A filesystem path to the driver setup library.

FileUsage odbcinst(1) entry, if you edit the configuration file by hand, you have to supply it yourself.

    TEMPLATE FILES

The recommended way to manage the drivers is using the odbcinst(1) utility. You can install the drivers by supplying it with template file, which has the same format as this file.

EXAMPLES

An example of the actual PostgreSQL driver:

[PostgreSQL]
Description = PostgreSQL driver for GNU/Linux
Driver      = /usr/lib/psqlodbcw.so
Setup       = /usr/lib/libodbcpsqlS.so
FileUsage   = 1

By specifying the driver like that, you can then reference it in the odbc.ini(5) as follows:



Driver = PostgreSQL



The recommended way to add that driver is by creating template file containg:

[PostgreSQL]
Description = PostgreSQL driver for GNU/Linux
Driver      = /usr/lib/psqlodbcw.so
Setup       = /usr/lib/libodbcpsqlS.so

and call the odbcinst(1):

# odbcinst -i -d -f template.ini

SEE ALSO

odbcinst(1), odbc.ini(5)

AUTHORS

The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@lurcher.org>. For the full list of contributors see the AUTHORS file.

COPYRIGHT

unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the COPYING file.
Search for    or go to Top of page |  Section 5 |  Main Index


version 2.3.2 ODBCINST.INI (5) Thu 27 Jun 2013

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.