SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from openSUSE Leap 42 unixODBC-2.3.7-401.3.x86_64.rpm

odbcinst.ini

Section: unixODBC manual pages (5)
Updated: Thu 27 Jun 2013
Index

 

NAME

/etc/odbcinst.ini - An unixODBC drivers configuration

 

DESCRIPTION

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

 

FILE FORMAT

The general .ini file format is:

[SectionName1]key1 = value1key2 = value2...[SectionName2]key1 = value1key2 = value2...

Each ODBC driver has its own section and can be referred to by the name of itssection. 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 theodbcinst(1)utility. You can install the drivers by supplying it with template file, whichhas the same format as this file.

 

EXAMPLES

An example of the actual PostgreSQL driver:

[PostgreSQL]Description = PostgreSQL driver for GNU/LinuxDriver      = /usr/lib/psqlodbcw.soSetup       = /usr/lib/libodbcpsqlS.soFileUsage   = 1

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

Driver = PostgreSQL

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

[PostgreSQL]Description = PostgreSQL driver for GNU/LinuxDriver      = /usr/lib/psqlodbcw.soSetup       = /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 <pharveyAATTcodebydesign.com> andNick Gorham <nickAATTlurcher.org>. For the full list of contributors see theAUTHORS file.

 

COPYRIGHT

unixODBC is licensed under the GNU Lesser General Public License. For detailsabout the license, see the COPYING file.


 

Index

NAME
DESCRIPTION
FILE FORMAT
TEMPLATE FILES
EXAMPLES
SEE ALSO
AUTHORS
COPYRIGHT

This document was created byman2html,using the manual pages.