Updated MariaDB ODBC and Python Connectors now available
Posted on February 24, 2025 by Daniel Bartholomew

MariaDB is pleased to announce the immediate availability of MariaDB Connector/ODBC 3.2.5, Connector/ODBC 3.1.21, and Connector/Python 1.1.12.
MariaDB Connector/ODBC 3.2.5
MariaDB ODBC drivers of 3.2 series can use both text and binary protocol, i.e. prepare statements on the client or on the server side, with text protocol being the default for direct execution(SQLExecDirect() function) and binary protocol for prepared statements(SQLPrepare()+SQLExecute() functions). This release provides applications more control on what protocol to be used
Release Notes and Changelog
Notable Changes
- Introduced connection string option EDSERVER to force SQLExecDirect to use server side prepared statements(SSPS)/binary protocol. This option compliments introduced earlier PREPONCLIENT option making SQLPrepare+SQLExecute to prepare query on the client side
- Added statement and connection attributes to control where queries are prepared by SQLExecDirect and SQLPrepare. These attributes are MariaDB specific, i.e. they will be ignored by other ODBC drivers. The attribute type values are SQL_ATTR_EXECDIRECT_ON_SERVER=25100 and SQL_ATTR_PREPARE_ON_CLIENT=25101. Setting of connection attributes are equivalent of using of connection string options mentioned above. Statement attributes allow to do the same at the statement level.
- Fixes for various issues.
MariaDB Connector/ODBC 3.1.21
Release Notes and Changelog
Notable Changes
- Fixes for various issues.
MariaDB Connector/Python 1.1.12
Release Notes and Changelog
Notable Changes
- Added support for VECTOR: Vectors can be directly used in parameters as float arrays without using tobytes() method or SQL Function Vec_FromText()
- Fixes for various issues.
Download
See the release notes and changelogs for more details and visit mariadb.com/downloads/connectors to download.