1odbcinst(1)                  unixODBC manual pages                 odbcinst(1)
2
3
4

NAME

6       odbcinst - An unixODBC tool for manipulating configuration files
7
8

SYNOPSIS

10       odbcinst ACTION OBJECT OPTIONS
11
12

DESCRIPTION

14       odbcinst  is  a  command  line tool which has been created for allowing
15       people who are developing the install scripts/RPMs for  Drivers  to  be
16       able to easily create/remove entries in odbc.ini and odbcinst.ini. This
17       command line tool is a complement to the shared  library  of  the  same
18       name (libodbcinst.so). This tool is a part of the odbcinst component of
19       unixODBC.
20
21

OPTIONS

23   ACTIONS
24       -i     Install (add section to config file) new OBJECT.
25
26
27       -u     Uninstall (remove section from config file) existing OBJECT.
28
29
30       -q     Query the config files  and  print  the  options  for  specified
31              OBJECT.
32
33
34       -j     Prints current configuration of unixODBC, listing (among others)
35              the paths to the configuration files.
36
37
38       -c     Calls SQLCreateDataSource
39
40
41       -m     Calls SQLManageDataSources
42
43
44       --version
45              Prints program version and exits.
46
47
48   OBJECTS
49       -d     The ACTION affect drivers (and thus the odbcinst.ini  configura‐
50              tion file).
51
52
53       -s     The  ACTION  affect  data  sources  (and thus the user or system
54              odbc.ini configuration file).
55
56
57   OPTIONS
58       -f FILE
59              The FILE is  template  file,  describing  the  configuration  of
60              installed OBJECT (only valid for the -i ACTION).
61
62
63       -r     Same  as the -f OPTION, only take the standard input as the tem‐
64              plate file.
65
66
67       -n NAME
68              Specifies the NAME of the OBJECT.
69
70
71       -v     Turn off verbose mode. This turns off all  information,  warning
72              and error messages.
73
74
75       -l     The  specified  data  source is system-wide. Has any effect only
76              with the -s OBJECT.
77
78
79       -h     The specified data source is user-specific. Has any effect  only
80              with the -s OBJECT.
81
82

RETURN VALUES

84       This command returns zero on success and non-zero value on failure.
85
86

FILES

88       /etc/odbinst.ini
89              Configuration  file containing all the database drivers specifi‐
90              cations. See odbcinst.ini(5) for more details.
91
92       /etc/odbc.ini
93              System-wide data sources  specifications.  See  odbc.ini(5)  for
94              more details.
95
96       $HOME/.odbc.ini
97              User-specific  data  sources specifications. See odbc.ini(5) for
98              more details.
99
100

SEE ALSO

102       odbcinst.ini(5), odbc.ini(5)
103
104

AUTHORS

106       The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and
107       Nick  Gorham  <nick@lurcher.org>. For the full list of contributors see
108       the AUTHORS file.
109
110
112       unixODBC is licensed under the GNU Lesser General Public  License.  For
113       details about the license, see the COPYING file.
114
115
116
117version 2.3.6                   Wed 26 Jun 2013                    odbcinst(1)
Impressum