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
odbcinst(1) unixODBC manual pages odbcinst(1)

odbcinst - An unixODBC tool for manipulating configuration files

odbcinst ACTION OBJECT OPTIONS

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

-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 the configuration files.

-c
Calls SQLCreateDataSource

-m
Calls SQLManageDataSources

--version
Prints program version and exits.

-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.ini configuration file).

-f FILE
The FILE is template file, describing the configuration of installed OBJECT (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 error messages.

-l
The specified data source is system-wide. Has any effect only with the -s OBJECT.

-h
The specified data source is user-specific. Has any effect only with the -s OBJECT.

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

/etc/odbinst.ini
Configuration file containing all the database drivers specifications. See odbcinst.ini(5) for more details.

/etc/odbc.ini

System-wide data sources specifications. See odbc.ini(5) for more details.

$HOME/.odbc.ini

User-specific data sources specifications. See odbc.ini(5) for more details.

odbcinst.ini(5), odbc.ini(5)

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

unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the COPYING file.
Wed 26 Jun 2013 version 2.3.1

Search for    or go to Top of page |  Section 1 |  Main Index

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