odbcinst(1)
โจ odbcinst(1) โ bestie edition โจ
okay so. this is a page from the unixODBC manual pages and it's about a lil command called odbcinst ๐
buckle up.
๐ธ NAME ๐ธ
odbcinst โ a unixODBC utility for managing configuration files ๐
๐ฆ SYNOPSIS ๐ฆ
odbcinst ACTION OBJECT OPTIONS
๐ DESCRIPTION ๐
odbcinst is a command-line utility that lets people who write install scripts or packages for ODBC drivers easily create or remove entries in odbc.ini and odbcinst.ini. that's literally its whole job and it eats every time ๐ฅ
this utility is part of the odbcinst component of unixODBC, and it complements the shared library of the same name (libodbcinst). they're a duo, they're iconic, they come as a set ๐
โจ OPTIONS โจ
๐ฏ ACTIONS
-iโ install a new OBJECT (by adding a section to a configuration file). new OBJECT just dropped ๐-uโ uninstall an existing OBJECT (by removing a section from a configuration file). not me deleting a whole section ๐-qโ query ODBC configuration files and print the available options for the specified OBJECT. it's giving investigative journalist ๐-jโ print the current configuration of unixODBC, including the paths to the configuration files. the vibe check of your whole setup ๐-cโ callSQLCreateDataSource.-mโ callSQLManageDataSources.--versionโ display the program version. gotta know which era you're in โญ
๐ OBJECTS
-dโ the specified ACTION affects a driver (and thus theodbcinst.iniconfiguration file).-sโ the specified ACTION affects a data source (and thus the user or systemodbc.iniconfiguration file).
๐ OPTIONS
-fFILE โ FILE is a template describing the configuration of the installed OBJECT. this one is only valid with the-iACTION, no exceptions bestie.-rโ act in the same way as for the-fOPTION, but take standard input as the template file. same energy, different source ๐ซถ-nNAME โ specifies the NAME of the OBJECT. give it a name, it deserves one ๐-vโ disable all information, warning and error messages. quiet mode, silent treatment, we love her ๐ญ-lโ the specified data source is system-wide. this option is only valid when used with the-sOBJECT.-hโ the specified data source is user-specific. this option is only valid when used with the-sOBJECT.
โญ RETURN VALUES โญ
odbcinst returns zero on success and a non-zero value on failure. that's it. that's the whole scoring system ๐ฏ
๐ FILES ๐
/etc/odbcinst.iniโ configuration file containing all database driver definitions. seeodbcinst.ini(5)for more information. ๐/etc/odbc.iniโ configuration file containing system-wide Data Source Name (DSN) definitions. seeodbc.ini(5)for more information.$HOME/.odbc.iniโ configuration file containing user-specific Data Source Name (DSN) definitions. seeodbc.ini(5)for more information. it's your personal one, your own lil corner of the filesystem ๐
๐ SEE ALSO ๐
odbcinst.ini(5), odbc.ini(5) โ go read those next, iykyk ๐
๐ง AUTHORS ๐ง
the authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@lurcher.org>. absolute legends, no cap ๐ซถ
for a full list of contributors, refer to the AUTHORS file.
๐ COPYRIGHT ๐
unixODBC is licensed under the GNU Lesser General Public License. for details about the license, see the COPYING file.
and that's the whole page bestie, every last flag accounted for, nothing skipped, periodt ๐ โจ
this was version 2.3.12, dated Sat 09 Jan 2021, and it's the odbcinst(1) page from the unixODBC manual. mwah, go configure something iconic ๐ธ
๐ฆ where this page comes from
- alpine 3.22: unixodbc-doc 2.3.12-r0 ยท LGPL-2.0-or-later
- alpine 3.23: unixodbc-doc 2.3.14-r0 ยท LGPL-2.0-or-later
- alpine 3.24: unixodbc-doc 2.3.14-r1 ยท LGPL-2.0-or-later
- arch rolling: unixodbc 2.3.14-1 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 10: unixODBC 2.3.12-6.el10 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 9: unixODBC 2.3.12-2.el9 ยท GPLv2+ and LGPLv2+
- centos-stream 9: unixODBC 2.3.12-2.el9 ยท GPLv2+ and LGPLv2+
- debian trixie: odbcinst 2.3.12-2+deb13u1 ยท LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.12-7.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.12-7.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.14-2.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.14-2.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: unixODBC 2.3.14-3.fc44 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: unixODBC 2.3.14-3.fc44 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- nixos 26.05: unixodbc 2.3.14
- nixpkgs unstable: unixodbc 2.3.14
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu noble: odbcinst 2.3.12-1build2 ยท LGPL-2.1-or-later
- ubuntu noble: odbcinst 2.3.12-1ubuntu0.24.04.1 ยท LGPL-2.1-or-later
- ubuntu questing: odbcinst 2.3.12-2ubuntu2
- ubuntu resolute: odbcinst 2.3.14-1 ยท LGPL-2.1-or-later
- ubuntu stonking: odbcinst 2.3.14-2 ยท LGPL-2.1-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms