• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install MariaDB ODBC Connector on Rocky linux 8.6

  • 00:37 cat /etc/os-release
  • 00:55 mkdir odbc_package
  • 01:10 wget https://downloads.mariadb.com/Connectors/odbc/connector-odbc-3.1.7/mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz
  • 01:26 tar -xvzf mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz
  • 01:34 install lib/libmaodbc.so /usr/lib
  • 01:37 install -d /usr/lib/mariadb/
  • 01:42 install -d /usr/lib/mariadb/plugin/
  • 01:50 install lib/mariadb/plugin/auth_gssapi_client.so /usr/lib/mariadb/plugin/
  • 01:58 install lib/mariadb/plugin/caching_sha2_password.so /usr/lib/mariadb/plugin/
  • 02:06 install lib/mariadb/plugin/client_ed25519.so /usr/lib/mariadb/plugin/
  • 02:13 install lib/mariadb/plugin/dialog.so /usr/lib/mariadb/plugin/
  • 02:20 install lib/mariadb/plugin/mysql_clear_password.so /usr/lib/mariadb/plugin/
  • 02:28 install lib/mariadb/plugin/sha256_password.so /usr/lib/mariadb/plugin/
  • 02:40 yum upadte
  • 03:11 yum install unixODBC-devel
  • 03:29 odbcinst -j
7541

To Install MariaDB ODBC Connector On Rocky Linux 8.6

Introduction:

ODBC drivers allow applications to access data in database management systems (DBMS) using SQL as the standard for data access. ODBC (Open Database Connectivity) is an industry-standard interface for connecting to databases. MariaDB Connector/ODBC uses it.

Installation Procedure:

Step 1: Check the OS version

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Step 2: Create a directory as “odbc_package”

[root@linuxhelp ~]# mkdir odbc_package

Step 3: Change the created directory

[root@linuxhelp odbc_package]#cd odbc_package/

Step 4: Download the Package files by using the below link

[root@linuxhelp odbc_package]#wget https://downloads.mariadb.com/Connectors/odbc/connector-odbc-3.1.7/mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz

--2022-02-15 04:18:43--  https://downloads.mariadb.com/Connectors/odbc/connector-odbc-3.1.7/mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz
Resolving downloads.mariadb.com (downloads.mariadb.com)... 104.17.191.14, 104.18.135.24, 2606:4700::6812:8718, ...
Connecting to downloads.mariadb.com (downloads.mariadb.com)|104.17.191.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1044297 (1020K) [application/octet-stream]
Saving to: ‘mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz’

mariadb-connector-odbc-3.1.7-g 100%[===================================================>]   1020K  5.27MB/s    in 0.2s    

2022-02-15 04:18:44 (5.27 MB/s) - ‘mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz’ saved [1044297/1044297]

Step 5: Extract the files

[root@linuxhelp odbc_package]# tar -xvzf mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz 

Step 6: Install the driver file in following location

[root@linuxhelp odbc_package]#install lib/libmaodbc.so /usr/lib

Step 7: Install libraries in the following location

[root@linuxhelp odbc_package]#install -d /usr/lib/mariadb/
[root@linuxhelp odbc_package]# install -d /usr/lib/mariadb/plugin/

Step 8: Install auth_gssapi_client.so library in the following location

[root@linuxhelp odbc_package]# install lib/mariadb/plugin/auth_gssapi_client.so /usr/lib/mariadb/plugin/

Step 9: Install caching_sha2_password.so library in the following location

[root@linuxhelp odbc_package]# install lib/mariadb/plugin/caching_sha2_password.so /usr/lib/mariadb/plugin/

Step 10: Install client_ed25519.so library in the following location

[root@linuxhelp odbc_package]# install lib/mariadb/plugin/client_ed25519.so /usr/lib/mariadb/plugin/

Step 11: Install dialog.so library in the following location

[root@linuxhelp odbc_package]# install lib/mariadb/plugin/dialog.so /usr/lib/mariadb/plugin/

Step 12: Install mysql_clear_password.so library in the following location

[root@linuxhelp odbc_package]# install lib/mariadb/plugin/mysql_clear_password.so /usr/lib/mariadb/plugin/

Step 13: Install sha256_password.so library in the following location

[root@linuxhelp odbc_package]# install lib/mariadb/plugin/sha256_password.so /usr/lib/mariadb/plugin/

Step 14: Update the yum source list

[root@linuxhelp odbc_package]# yum upadte

Step 15: Install the ODBC Driver Manager

[root@linuxhelp odbc_package]# yum install unixODBC-devel
Last metadata expiration check: 0:13:08 ago on Mon 05 Sep 2022 03:29:38 PM EDT.
Dependencies resolved.
=======================================================================================
 Package                 Architecture    Version              Repository          Size
=======================================================================================
Installing:
 unixODBC-devel          x86_64          2.3.7-1.el8          appstream           63 k
Installing dependencies:
 unixODBC                x86_64          2.3.7-1.el8          appstream          453 k

Transaction Summary
=======================================================================================
Install  2 Packages

Total download size: 516 k
Installed size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): unixODBC-devel-2.3.7-1.el8.x86_64.rpm           270 kB/s |  63 kB     00:00    
(2/2): unixODBC-2.3.7-1.el8.x86_64.rpm                 1.1 MB/s | 453 kB     00:00    
---------------------------------------------------------------------------------------
Total                                                  415 kB/s | 516 kB     00:01     
Running transaction check
Waiting for process with pid 40718 to finish.
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                               1/1 
  Installing       : unixODBC-2.3.7-1.el8.x86_64                                   1/2 
  Running scriptlet: unixODBC-2.3.7-1.el8.x86_64                                   1/2 
  Installing       : unixODBC-devel-2.3.7-1.el8.x86_64                             2/2 
  Running scriptlet: unixODBC-devel-2.3.7-1.el8.x86_64                             2/2 
  Verifying        : unixODBC-2.3.7-1.el8.x86_64                                   1/2 
  Verifying        : unixODBC-devel-2.3.7-1.el8.x86_64                             2/2 

Installed:
  unixODBC-2.3.7-1.el8.x86_64             unixODBC-devel-2.3.7-1.el8.x86_64            

Complete!

Step 16 : view the odbc version and odcb.ini file location

[root@linuxhelp odbc_package]# odbcinst -j
unixODBC 2.3.7
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

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install MariaDB ODBC Connector on Rocky Linux 8.6. Your feedback is much welcome.

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What does ODBC stand for?

A

ODBC stands for Open Database Connectivity (ODBC)

Q

What does ODBC stand for?

A

ODBC stands for Open Database Connectivity (ODBC)

Q

How to download the ODBC libraries?

A

To download the ODBC libraries the link

Q

What is ODBC vs SQL?

A

ODBC provides data types and functions that help applications to interact with the database. SQL is used to create queries to manipulate the data stored in a database.

Q

What is the job of ODBC from client to SQL?

A

ODBC converts the commands defined in the client application to the queries understood by the database like SQL.

Load more

Related Tutorials in How to install MariaDB ODBC Connector on Rocky linux 8.6

Related Tutorials in How to install MariaDB ODBC Connector on Rocky linux 8.6

How to Completely Delete MariaDB Server 10.3v on Ubuntu 19.04
How to Completely Delete MariaDB Server 10.3v on Ubuntu 19.04
Jun 11, 2019
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to check database and table size in MariaDB
How to check database and table size in MariaDB
Feb 10, 2017
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to Install and Configure Mega in Linux
How to Install and Configure Mega in Linux
Jul 19, 2016
How to use Aureport command on Linux
How to use Aureport command on Linux
Nov 28, 2017
How to install Development tools on Linux
How to install Development tools on Linux
Jun 12, 2018
How to Install mod_ssl and SSL certificate on Oracle Linux
How to Install mod_ssl and SSL certificate on Oracle Linux
Dec 30, 2021

Related Forums in How to install MariaDB ODBC Connector on Rocky linux 8.6

Related Forums in How to install MariaDB ODBC Connector on Rocky linux 8.6

Linux
jayce class=
shasum command not found
May 5, 2017
Linux
stephan class=
How to list all samba users
Jan 12, 2018
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Linux
baseer class=
single command to apply setfacl for multiple user at a time
Jan 23, 2018
Linux
beulah class=
What does mean by 0 0 value in fstab file
Jan 2, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018

Related News in How to install MariaDB ODBC Connector on Rocky linux 8.6

Related News in How to install MariaDB ODBC Connector on Rocky linux 8.6

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Microsoft makes its Azure App service now available on Linux Systems
Microsoft makes its Azure App service now available on Linux Systems
Sep 7, 2017
Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.