From Fedora Project Wiki

 
Line 41: Line 41:
== Notes ==
== Notes ==


MariaDB ODBC connector does not have setup driver yet.
MariaDB ODBC connector does not have setup driver.


[https://mariadb.com/kb/en/library/mariadb-connector-odbc/ Upstream infromation]
Upstream [https://mariadb.com/kb/en/library/mariadb-connector-odbc/ information]


Upstream [https://mariadb.com/kb/en/mariadb-connector-odbc-release-notes/ release notes]


[[Category:Package MariaDB]]
[[Category:Package MariaDB]]
[[Category:Package mariadb-connector-odbc]]
[[Category:Package mariadb-connector-odbc]]
[[Category:Packages]]
[[Category:Packages]]

Latest revision as of 23:47, 17 January 2025

Article about mariadb-connector-odbc package

Connector releases

mariadb-connector-odbc 3.0 - until Fedora 28 ( also available in F29 & F30 base )
mariadb-connector-odbc 3.1 - until Fedora 39
mariadb-connector-odbc 3.2 - current ( F40 - Rawhide )

Perequisites

Needed:

  • mariadb-connector-odbc
  • mariadb-server
  • unixODBC

Can be used instead:

  • mysql-server
  • mysql-connector-odbc

Setup

Running MariaDB server

   systemctl start mariadb

unixODBC

   /etc/odbcinst.ini - general info about the connectors libraries etc.
   /etc/odbc.ini - specific connectors settings

The basic "/etc/odbcinst.ini" config is already shipped by unixODBC package

/etc/odbc.ini config file example:

   [mariadb-connector-odbc]
   Driver=MariaDB

Usage

Interactive mode:

   isql -v mariadb-connector-odbc

Non-interactive mode

   echo "show databases" | isql -v mariadb-connector-odbc -b

Notes

MariaDB ODBC connector does not have setup driver.

Upstream information

Upstream release notes