odbc.ini(5) | unixODBC manual pages | odbc.ini(5) |
/etc/odbc.ini, $HOME/.odbc.ini - unixODBC data source configuration files
/etc/odbc.ini is a system-wide configuration file for ODBC Data Source Names (DSNs).
$HOME/.odbc.ini is a user-specific configuration file for ODBC Data Source Names (DSNs).
Paths to both configuration files can be overridden by unixODBC build options. Call odbcinst -j to determine the default configuration file paths on your system.
Many ODBC drivers come with .ini file templates. Using odbcinst to install these templates is recommended.
odbc.ini follows the pesudo-standard ini file syntax convention of one or more [section headings], each followed by zero or more key = value attributes.
This mandatory section lists each data source name (DSN) as a key. The associated values serve as comments. Each entry must be matched by an ini file [section] describing the data source.
Each data source is identified by a [section header], which is the DSN name used by applications. Each DSN definition section may contain values for the keys:
An example odbc.ini configuration file is shown in the "Administrator Manual" shipped with unixODBC.
unixODBC(7), odbcinst(1), isql(1), iusql(1), odbcinst.ini(5)
"The unixODBC Administrator Manual (HTML)"
The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@lurcher.org>.
For a full list of contributors, refer to the AUTHORS file.
unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the COPYING file.
Sun 10 Jan 2021 | version 2.3.11 |