MAN page from Fedora 22 unixODBC-2.3.2-6.fc22.x86_64.rpm
odbcinst
Section: unixODBC manual pages (1)
Updated: Wed 26 Jun 2013
Index
NAME
odbcinst - An unixODBC tool for manipulating configuration files
SYNOPSIS
odbcinstACTION OBJECT OPTIONS
DESCRIPTION
odbcinstis a command line tool which has been created for allowing people whoare developing the install scripts/RPMs for Drivers to be able to easilycreate/remove entries in odbc.ini and odbcinst.ini. This command line tool is acomplement to the shared library of the same name (libodbcinst.so). This tool isa part of the odbcinst component of unixODBC.
OPTIONS
ACTIONS
- -i
- Install (add section to config file) new OBJECT.
- -u
- Uninstall (remove section from config file) existing OBJECT.
- -q
- Query the config files and print the options for specified OBJECT.
- -j
- Prints current configuration of unixODBC, listing (among others) the paths to theconfiguration files.
- -c
- Calls SQLCreateDataSource
- -m
- Calls SQLManageDataSources
- --version
- Prints program version and exits.
OBJECTS
- -d
- The ACTION affect drivers (and thus the odbcinst.ini configuration file).
- -s
- The ACTION affect data sources (and thus the user or system odbc.iniconfiguration file).
OPTIONS
- -f FILE
- The FILE is template file, describing the configuration of installedOBJECT (only valid for the -i ACTION).
- -r
- Same as the -f OPTION, only take the standard input as the template file.
- -n NAME
- Specifies the NAME of the OBJECT.
- -v
- Turn off verbose mode. This turns off all information, warning and errormessages.
- -l
- The specified data source is system-wide. Has any effect only with the -sOBJECT.
- -h
- The specified data source is user-specific. Has any effect only with the -sOBJECT.
RETURN VALUES
This command returns zero on success and non-zero value on failure.
FILES
/etc/odbinst.ini
- Configuration file containing all the database drivers specifications. Seeodbcinst.ini(5)for more details.
/etc/odbc.ini
- System-wide data sources specifications. Seeodbc.ini(5)for more details.
$HOME/.odbc.ini
- User-specific data sources specifications. Seeodbc.ini(5)for more details.
SEE ALSO
odbcinst.ini(5),
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
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- ACTIONS
- OBJECTS
- OPTIONS
- RETURN VALUES
- FILES
- SEE ALSO
- AUTHORS
- COPYRIGHT
This document was created byman2html,using the manual pages.