[root@unica12node1 mariadb]# yumdownloader --destdir=./tmp --resolve unixODBC.x86_64
Loaded plugins: langpacks, product-id, subscription-manager
--> Running transaction check
---> Package unixODBC.x86_64 0:2.3.1-14.el7 will be installed
--> Finished Dependency Resolution
unixODBC-2.3.1-14.el7.x86_64.rpm | 413 kB 00:00:03
[root@unica12node1 mariadb]# ls -l
total 3316
drwxr-xr-x 2 root root 26 Sep 16 18:57 lib
-rw-r--r-- 1 root root 837805 Jan 11 2020 mariadb-connector-odbc-3.1.0-rc-rhel7-x86_64.tar.gz
drwxr-xr-x 3 root root 17 Sep 16 18:57 share
drwxr-xr-x 2 root root 46 Sep 16 19:33 tmp
-rw-r--r-- 1 root root 875028 Sep 16 11:08 unixODBC-2.2.0-5.i386.rpm
-rw-r--r-- 1 root root 1676145 Sep 16 11:02 unixODBC-2.3.9.tar.gz
[root@unica12node1 mariadb]# cd tmp
[root@unica12node1 tmp]# ls -l
total 416
-rw-r--r-- 1 root root 423196 Jun 11 2019 unixODBC-2.3.1-14.el7.x86_64.rpm
[root@unica12node1 tmp]# rpm -i unixODBC-2.3.1-14.el7.x86_64.rpm
[root@unica12node1 tmp]# odbcinst
**********************************************
* unixODBC - odbcinst *
**********************************************
* *
* Purpose: *
* *
* An ODBC Installer and Uninstaller. *
* Updates system files, and *
* increases/decreases usage counts but *
* does not actually copy or remove any *
* files. *
* *
* Syntax: *
* *
* odbcinst Action Object Options *
* *
* Action: *
* *
* -i install *
* -u uninstall *
* -q query *
* -j print config info *
* -c call SQLCreateDataSource *
* -m call SQLManageDataSources *
* --version version *
* *
* Object: *
* *
* -d driver *
* -s data source *
* *
* Options: *
* *
* -f file name of template.ini follows *
* this (valid for -i) *
* -r get template.ini from stdin, not *
* a template file *
* -n Driver or Data Source Name follows *
* -v turn verbose off (no info, warning *
* or error msgs) *
* -l system dsn *
* -h user dsn *
* *
* Returns: *
* *
* 0 Success *
* !0 Failed *
* *
* Please visit; *
* *
* http://www.unixodbc.org *
* pharvey@codebydesign.com *
**********************************************
[root@unica12node1 tmp]# odbcinst -j
unixODBC 2.3.1
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES..: /etc/ODBCDataSources
USER DATA SOURCES..: /root/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8
No comments:
Post a Comment