Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Release Notes for Connector/C 3.3.x releases
Release Notes for Connector/C 3.4.x releases
Release Notes for MariaDB Connector/C releases
MariaDB's latest Connector updates boost performance, security, and stability.
Release Notes for Connector/C 3.2.x releases
Release Notes for Connector/C 3.1.x releases
Release Notes for Connector/C 2.3.x releases
Changelogs for Connector/C 3.4.x releases
Changelogs for Connector/C releases
Release Notes for Connector/C 2.2.x releases
The most recent release of is:
Release date: 21 Aug 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Included in MariaDB Community Server , , , and
: Fix potential loss of "Proxy header not accepted from host" error
: TLS v1.3 support for Windows Server
: Enable rpl_set_error
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 19 Feb 2024
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Allow named pipe connection handle to be used with IO completion port. Pipe handle can be obtained via mysql_get_socket() API function.
Added support for zstd static library (Kudos to Uilian Ries for his contribution)
: Don't trust error packets received prior to TLS handshake completion. (Kudos to Daniel Lenski for his contribution)
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 7 Jul 2021
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
First stable (GA) release in the Connector/C 3.2 series
: Allow all curves when specifying cipher suite (GnuTLS)
: Add support for OpenSSL 3.0
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 9 Apr 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Valid named pipe connection on Windows is closed. Fixed different behavior of pvio_is_alive (which was first used with fix of ). Both for sockets and named pipe the function now returns true if the connection is alive, otherwise false
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 21 Nov 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Release Notes for Connector/C 3.0.x releases
CONC-771: Fix pipelining error (mariadb_stmt_execute_direct)
CONC-766: Improve TLS verification performance on Windows
CONC-766: Disable clang -Wcast-function-type-strict for makecontext
CONC-764: Fix build error on android
CONC-756: Updated bundled zlib
Release date: 11 Feb 2025
This is a Stable (GA) release of MariaDBConnector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added support for setting zstd compression level via mysql_optionsv parameter MYSQL_OPT_ZSTD_COMPRESSION_LEVEL.
CONC-693: Fix SSL_read/write return value checking in ma_tls_async_check_result (Kudos to Joshua Hunt for contributing this fix)
CONC-589: First query fails after reconnect
CONC-711: Ubsan and Asan fixes
: Fix crash when sending NULL_LENGTH in field description
: Fix possible buffer overflow in ma_read_ok_packet
: Added support for TLSv1.3 ciphers (GnuTLS)
: Parsec plugin not unloaded during mtr-test run
: prepared statement support AUTO_SEC_PART_DIGITS
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 9 Apr 2025
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
CONC-795: Client side SNI support
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 25 May 2022
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 20 Aug 2024
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 10 Nov 2021
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-566: If a stored procedure was executed as server side cursor and server doesn't set the SERVER_STATUS_CURSOR_EXISTS status flag, the result set will not be processed as a server side cursor.
MDEV-26761: If mariadb_stmt_execute_direct fails, the number of parameters (obtained by response packet of mysql_stmt_prepare) will be set back to the number of prebinded parameters to avoid memory overrun.
CONC-568: The API function mysql_load_plugin_v() now returns the plugin handle (instead of raising an error and returning a NULL handle) even if the plugin was already loaded. This will avoid possible race conditions, when one thread is loading the plugin while another thread waits for the lock to load the same plugin.
Xcode compatibility update (Thanks to Sergei Krivonos for his contribution)
: Removed callback function for crypto threads, since the callback function cannot be cleared (this affects OpenSSL <= 1.0.2 only)
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 22 Aug 2022
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-598: Callback support for status and session_tracking
CONC-600: Ignore unknown events in replication/binlog API
CONC-601: Fixed build for MacOS when using bundled zlib library.
CONC-602: Fixed memory leak in non-blocking API. Kudos to Hyung Hwan who found this issue and provided a fix.
: Fixed error handling in TLS read/write
: Fixed crash when reconnecting via TLS
: Disable sigpipe errors for GnuTLS
: Replaced server error code constants in communication (ma_net)
: Infinite loop in pvio_socket_internal_connect(). Kudos to Hugo Wen who found this issue and provided a fix.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 14 Sep 2023
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-650: Added XID support for GTID_EVENT (replication/binlog API)
removed server certification flag from client capabilities (this is a client only option)
CONC-657: Fixed crash when receiving ROWSv2 (MySQL Server) event. Kudos to Sruli Ganor for reporting this issue and providing a fix. (replication/binlog API)
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 29 Jun 2021
This is a Release Candidate (RC) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
In addition to various minor bug fixes, in this release we have updated the minor version number (skipped over 3.2.1) so that this series is in sync with the MariaDB 10.6 minor version number. Going forward, releases in the Connector/C 3.2 series will correspond to the same minor version of MariaDB 10.6. e.g. Connector/C 3.2.2 is included in MariaDB 10.6.2.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 12 Nov 2024
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
MariaDB Connector/C 3.1.25 was not released separately but is included in MariaDB Community Server 10.5.27. MariaDB Connector/C 3.1.26 includes additional bug fixes for the Connector.
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 18 Jun 2024
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 22 Aug 2022
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-604: Fixed crash when reconnecting via TLS
CONC-605: Disable sigpipe errors for GnuTLS
CONC-607: Infinite loop in pvio_socket_internal_connect: Kudos to Hugo Wen who reported this issue and provided a fix)
: Replaced server error code constants in communication (ma_net)
Fixed build for static plugins
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 29 Nov 2012
This is the initial Stable (GA) release of the MariaDB Client Library for C. In general, marking this release as stable means that there are no known serious bugs, except for those marked as feature requests, that no bugs were fixed since last release that caused a notable code changes, and that we believe the code is ready for general usage (based on bug inflow).
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 21 Dec 2018
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added missing pdb's to windows installer
Fixed windows build when using external zlib
mingw fix: use lowercase names for include files
: Fixed handshake errors when mixing TLSv1.3 cipher suites with cipher suites from other TLS protocols
CONC-312: Added new caching_sha2_password authentication plugin for authentication with MySQL 8.0
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 24 June 2022
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
TLS encryption
: Provide X509 peer certificate information:
Added a new structure MARIADB_X509_INFO, which contains information about peer certificate. The information can be obtained via mysql_get_infov API function:
: enable MYSQL_OPT_SSL_VERIFY_SERVER_CERT by default
Using TLS/SSL has been simplified with MariaDB Server 11.4. Before version 11.4, proper TLS/SSL configuration required multiple manual steps for the server and all the clients connecting to it.
For MariaDB Connector/C before 3.4 to establish an TLS/SSL encrypted connection, or a MariaDB Server release series previous to 11.4, three options can be used:
- Server now permits to send a result-set containing generated id and affected rows for each bulk operation. This feature can be enabled with option MARIADB_OPT_BULK_UNIT_RESULTS. The server indicates if this feature is supported by setting MARIADB_CLIENT_BULK_UNIT_RESULTS in his capability flags.
Added support for restricted_auth in configuration files
Support for new collations which were added in MariaDB Server 11.5
: Don't allow to use unsupported client flags in mysql_real_connect : Fix memory leak when setting default configuration directories : Don't trust error packets received prior to TLS handshake completion. (Kudos to Daniel Lenski for his contribution : Check pending results when closing statement : mariadb_rpl_fetch() crashes if table is partitioned
Warning fixes (-Wcalloc-transposed-args) in calloc calls (Thanks to Sam James)
Fixed SSL_read/write return value check in ma_tls_async_check_result (Thanks to Josh Hunt)
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 11 Feb 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added support for setting zstd compression level via mysql_optionsv parameter MYSQL_OPT_ZSTD_COMPRESSION_LEVEL.
: Fix SSL_read/write return value checking in ma_tls_async_check_result (Kudos to Joshua Hunt for contributing this fix)
: First query fails after reconnect
: Ubsan and Asan fixes
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 21 Jun 2024
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Don't allow to use unsupported client flags in mysql_real_connect
: Fix memory leak when setting default configuration directories
: Don't trust error packets received prior to TLS handshake completion. (Kudos to Daniel Lenski for his contribution
Allow named pipe connection handle to be used with IO completion port. Pipe handle can be obtained via mysql_get_socket() API function. Added support for zstd static library (Kudos to Uilian Ries for his contribution)
Added support for restricted_auth in configuration files
- Server now permits to send a result-set containing generated id and affected rows for each bulk operation. This feature can be enabled with option MARIADB_OPT_BULK_UNIT_RESULTS. The server indicates if this feature is supported by setting MARIADB_CLIENT_BULK_UNIT_RESULTS in his capability flags.
Warning fixes (-Wcalloc-transposed-args) in calloc calls (Thanks to Sam James)
Fixed SSL_read/write return value check in ma_tls_async_check_result (Thanks to Josh Hunt)
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 25 May 2022
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Allocate memory for proxy options
: Handle alerts after tls handshake has completed (OpenSSL)
: Fixed license header
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 15 Feb 2022
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: FIx detection of MariaDB Server: If the server was startet with --version option, it might not contain the 5.5.5 prefix
: Add mariadb_config --libmysqld-libs option. If server package was built with embedded server and MariaDB Connector/C was built as subproject in server package mariadb_config will display link option for embedded server
: create libmariadb.a as symlink to libmariadbclient.a
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 29 Nov 2023
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Fix memory allocation issue with prepared statement reexecution.
: Win32 build fix
: Cache bcrypt algorithm providers (Windows)
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 21 Aug 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Included in MariaDB Community Server , and
: Fix potential loss of "Proxy header not accepted from host" error
: TLS v1.3 support for Windows Server
: Enable rpl_set_error
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 7 Feb 2023
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
mysql_get_client_info()/mysql_get_client_version() now return the Connector/C specific version (instead of corresponding server version),
: Don't substitute parameters in server error message
: Fix memory leak in prepared statements if realloc failed
: Fixed error numbers
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 9 Apr 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Valid named pipe connection on Windows is closed. Fixed different behavior of pvio_is_alive (which was first used with fix of ). Both for sockets and named pipe the function now returns true if the connection is alive, otherwise false
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 11 Feb 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Fix SSL_read/write return value checking in ma_tls_async_check_result (Kudos to Joshua Hunt for contributing this fix)
: First query fails after reconnect
: Fix crash when sending NULL_LENGTH in field description
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 1 Sep 2023
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
removed server certification flag from client capabilities (this is a client only option)
build fixes
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: This version was never released
For a description of this library see the page.
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 26 Apr 2016
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: fix crash when fetching MYSQL_TYPE_BIT data. MYSQL_TYPE_BIT has no fixed packlength, so net_field_length should be checked instead.
: Memory corruption in mariadb_dyncol_unpack
: String conversion of timestamps is broken: When converting datetime value with microseconds to string (binary protocol) number of decimal places was ignored. Thanks to Patrick Huesmann for providing a fix.
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 6 Jun 2019
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Changed order for lookup configuration files on Windows
: Added support for pem files which contain certificate and private key.
: Allow TLS version 1.2 when using SChannel (Windows)
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 12 Dec 2019
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: ERROR 2026 (HY000): SSL connection error: Certificate signature check failed
: Provide error code and message for Schannel errors
/ / : SEC_E_INVALID_TOKEN when server sends large message during SSL handshake
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 25 May 2022
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Allocate memory for proxy options
: Handle alerts after tls handshake has completed (OpenSSL)
: Fixed license header
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 4 Aug 2016
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added support for OpenSSL 1.1 library
: Fixed wrong behaviour of mysql_stmt_fetch_column: If a blob is fetched in pieces, offset was ignored.
: When retrieving large result sets mysql_stmt_store_result was 4 times slower than libmysql due to extra loops in alloc_root() function. (see also )
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 2 Aug 2018
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: FIx IS_NUM() macro
Coverity scan bug fixes
: local infile parameter must be unsigned int instead of my_bool
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 11 Sep 2019
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Use windows crypto libraries on Windows platforms
Included in , , and
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 1 Aug 2019
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Fix CMake warnings
: heap-use-after-free in client_mpvio_read_packet
: Fix GnuTLS error with TLSv1.3
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 23 Feb 2021
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Fix warnings generated during compilation of plugin/auth_pam/testing/pam_mariadb_mtr.c on FreeBSD
: Fixed warning on MacOS when including ucontext.h
: Check if mysql->options.extension was allocated before checking async_context
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 19 Jun 2019
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: client plugins can't be loaded due to missing prefix
Fixed version setting in GnuTLS by moving "NORMAL" at the end of priority string
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
MariaDB Connector/C 3.2 is the current major development version. MariaDB Connector/C 3.1 is stable and feature-complete, so major new features to be developed are going into 3.2.
: Do not resend prepared statement metadata unnecessarily
: Added support for passwords > 255 characters
LOAD DATA LOCAL is now supported in binary protocol
The connection plugin "aurora" was removed
Default character set is now utf8mb4
Character set utf8 will be mapped to utf8mb3
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
CONC-708: Fix possible buffer overflow in ma_read_ok_packet
CONC-739: prepared statement support AUTO_SEC_PART_DIGITS
CONC-748: Added support for TLSv1.3 ciphers (GnuTLS)
Build fix for Android NDK
Updated bundled zlib (Version 1.2.12)
Fixed length calculation of MYSQL_TIME values in binary protocol
Added support for ROWS_EVENT_V2 (binlog api). Special Thanls to Sutou Kouhei for his contribution
CONC-672: Avoid false positive gcc warning
MDEV-19511 Remove WORDS_BIGENDIAN
CONC-771: Fix pipelining error (mariadb_stmt_execute_direct)
CONC-766: Disable clang -Wcast-function-type-strict for makecontext
CONC-739: prepared statement support AUTO_SEC_PART_DIGITS
CONC-748: Added support for TLSv1.3 ciphers (GnuTLS)
OpenSSL: remove warnings when using OPENSSL_NO_DEPRECATED versions
CONC-163: mysql->info returns garbage if no row was updated.
CONC-161: Increase user name length to 128
CONC-160: field metadata doesn't show NUM_FLAG for NEWDECIMAL columns
CONC-156: Connector/C build fails on FreeBSD due to not including necessary header. Thanks to Andie H. Hwang for providing this patch!
CONC-155: return trailing zero when fetching from binary columns into string
CONC-154: set stmt->state to MYSQL_STMT_FETCH_DONE if result set is empty (nothing to fetch) or madb_stmt_reset was called
Build fix for Android NDK
Updated bundled zlib (Version 1.2.12)
CONC-332: my_auth doesn't read/update server ok packet
CONC-344: reset internal row counter
CONC-345: invalid heap use after free
CONC-346: Remove old cmake policies
ODBC-154: Fixed build layout when building Connector/C as subproject in Connector/ODBC (Thanks to Lawrin Novitsky for his contribution)
fixed crash in mysql_select_db if NULL parameter was provided
Debian layout changes/fixes (Thanks to Otto Kekäläinen)
CONC-421: Fixed crash in GnuTLS when key and certificate are in the same file
CONC-429: Don't allow invalid characters in plugin names
MDEV-19807: Fixed Location of PLUGINDIR if Connector/C is a subproject
Fixes for the following :
CONC-433: Added support for certificate revocation list in GnuTLS module
CONC-547: Changed default character set from latin1 to utf8mb4
CONC-533: Added support for non blocking calls using binary protocol
CONC-509: mysql_get_client_* api functions now return Connector version
Release date: 12 Nov 2024
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
MariaDB Connector/C 3.4.2 was not released separately but is included in MariaDB Community Server 11.4.4. MariaDB Connector/C 3.4.3 includes additional bug fixes for the Connector and is included in MariaDB Community Server 11.6.2, and 11.7.1.
For a description of this library see the page.
Added option MARIADB_TLS_VERIFY_STATUS to retrieve status of peer certificate validation via mariadb_get_infov().
CONC-690: Due to required cryptographic functions that are part of the TLS crypto libraries the option WITH_SSL=OFF (disabling TLS/SSL) is no longer supported and will result in a build error.
CONC-724: Added option MARIADB_OPT_TLS_VERIFICATION_CALLBACK to specify a callback function for peer certificate testing.
Man pages are no longer stored in github repository. They can be build with cmake option -DWITH_DOCS=ON (requires pyhon 3 and pandoc).
If the environment variable MARIADB_TLS_DISABLE_PEER_VERIFICATION was set, the peer certificate verification will be skipped.
: Added windows support for the parsec authentication plugin, a new plugin added to MariaDB Server 11.6
CONC-712: Skip host name verification on local connections
CONC-731: Wrong error message if incorrect fingerprint was specified
CONC-732: Always set verification callback function, even if peer certificate validation is disabled (OpenSSL)
: A reconnect doesn't do node failover when using a connection string with multiple hosts
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 7 Feb 2023
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-627: Don't substitute parameters in server error message
CONC-626: Fix memory leak in prepared statements if realloc failed
CONC-625: Fixed error numbers
: Check error code ranges and provide support for variadic arguments in prepared statement errors.
: Check return value of parameter callback function and return error.
: Fix double free() if asnyc connect failed
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 20 Aug 2024
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
expired TLS certificate is always rejected, even if it can be auto-verified or a fingerprint is correct
new PARSEC authentication plugin is included, but disabled by default
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 12 Nov 2024
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
MariaDB Connector/C 3.3.12 was not released separately but is included in MariaDB Community Server 10.6.20, 10.11.10, and 11.2.6. MariaDB Connector/C 3.3.13 includes additional bug fixes for the Connector.
For a description of this library see the page.
Added TLSv1.3 support for Schannel (Windows)
Added new option -DWITH_BOOST_CONTEXT. CMake option -DWITH_BOOST_CONTEXT=ON adds boost::context as a dependency of libmariadb to provide a fallback on non-natively supported architectures. boost::context is preferred over ucontext when both are available.
Fixed possible crash if not default plugin was loaded.
CONC-730: Undefined behavior in the reference ed25519 implementation
CONC-527: Fixed error "SEC_E_ALGORITHM_MISMATCH" connecting Windows client to Ubuntu
: A reconnect doesn't do node failover when using a connection string with multiple hosts
: Failed to initialise non-blocking API on OpenBSD arm64
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 22 May 2023
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Updated bundled zlib library (version 1.2.13)
CONC-619: Fixed NULL pointer dereference in unpack_fields().
CONC-632: Clear server status and remove pending result sets in mysql_reset_connection().
CONC-633: If prepare step failed in mariadb_stmt_execute_direct now both mysql_stmt_error and mysql_error return the error message from prepare step instead of error message of execute.
: Disable TLS for named pipe and shared memory connections.
: Fixed build if GSSAPI plugin is disabled
: Fixed memory leak in ps_bugs unittest
: Set CR_OUT_OF_MEMORY error in mysql_use_result() api function if allocation of memory failed
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 8 Apr 2019
This is an Alpha release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Included in MariaDB 10.4.4
Replication/Binlog API: The main mechanism used in replication is the binary log. If binary logging is enabled, all updates to the database (data manipulation and data definition) are written into the binary log as binlog events. Clients may read the binary log from master using the replication API in order to access the data.
CONC-395: Dashes and underscores are not interchangeable in options in my.cnf
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 14 Nov 2018
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Build fixes when building with ASAN/TSAN
CONC-370: Fixed memory leak in configuration file parsing.
CONC-371: Incorrect fractional part conversion when converting datetime string to MYSQL_TIME
: Fixed pkg-config configuration
: Not all sockets created in pvio_socket_connect function are closed
multiple fixes in named pipe implementation
OpenSSL build fixes on Windows platforms
CONC-349: Added new parameter STMT_ATTR_STATE to retrieve statement status via api function mysql_stmt_attr_get
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 17 September 2020
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-500: Fixed error when loading intermediate chained certificates
MDEV-18818: Fixed wrong zlib in mariadb_config when building inside server package
CONC-498: MYSQL_UNIX_ADDR and MYSQL_PORT are now defined
Added new build option WIITH_ICONV=ON/OFF. When set to OFF (default) API function mariadb_convert_string will always return -1 and sets errorcode to ENOTSUP.
mariadb_config now tries to determine the path of execution or uses MARIADB_CONFIG environment variable before falling back and using CMAKE_INSTALL_PREFIX for location of libraries and include files
added --variables option for mariadb_config. Supported values are pkgincludedir, pkglibdir and pkgplugindir.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 1 Jul 2016
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
New option MARIADB_OPT_VERIFY_LOCAL_INFILE_CALLBACK which allows the
verification of filename and directory for LOAD DATA LOCAL INFILE calls.
The option must be set via mysql_optionsv call:
The registered callback function has the following format
It returns 0 on success, non zero for error.
For a complete example check test_local_infile_callback in misc.c
In case getaddrinfo() returns an error, we return the WSA Error code instead of gai error. (For more information please read ms738520(v=vs.85).aspx)
Fixed numeric precision in prepared statements when converting float and double values to strings
When connecting via TLS socket is now set to non blocking. If SSL_get_error returns WANT_READ/WANT_WRITE SSL_connect will be called again until connect timeout seconds passed.
Fixed behaviour of getaddrinfo: If getaddrinfo returns EAI_AGAIN getaddrinfo will be called again until connect timeout seconds passed. If no connect timeout was specified, a default value of 30 seconds will be used.
Removed LONGLONG_MIN/MAX definition from config-win.h as they are also defined in my_global
Fix for windows build: replace SIZEOF_CHARP with sizeof(char *)
: Don't use verify callback in global context, since it may cause bad/unexpected behaviour in threaded issues. Instead now verification of peer certificate will be processed by the OpenSSL library itself.
Fixed possible memory overrun in my_strdup_root
: fixed zerofill issues (converting numeric to string)
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 15 Feb 2022
This is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
MDEV-27304: FIx detection of MariaDB Server: If the server was startet with --version option, it might not contain the 5.5.5 prefix
MDEV-16383: Add mariadb_config --libmysqld-libs option. If server package was built with embedded server and MariaDB Connector/C was built as subproject in server package mariadb_config will display link option for embedded server
MDEV-27109: create libmariadb.a as symlink to libmariadbclient.a
Fixed length calculation of MYSQL_TIME values in binary protocol
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 9 Dec 2015
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 7 Jun 2018
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-334: Copy all members of MYSQL_FIELD from mysql->fields to stmt->fields
Fixed conversion from string to MYSQL_TIME type (prepared statements)
Added missing status defines (SERVER_STATUS_ANSI_QUOTES, SERVER_STATUS_IN_TRANS_READONLY)
: Added new default connection attribute _server_host
: Changed default character set to latin1
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 4 Nov 2020
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-508: Added support for passwords > 255 characters
CONC-501: Added support for TLS v1.3 cipher suites (OpenSSL only)
MDEV-21612: Removed unused command COM_MULTI
If character set "auto" was specified on Windows, and GetConsoleCP returns a positive number, Ansi code page identifier (GetACP) will be used
Updated bundled zlib (now version 1.2.11)
CONC-513: MSAN use-of-uninitialized-value in strstr()
CONC-512: truncation check for float values fails on i386 due to Intel FPU optimization bug in gcc
CONC-510: Fix crash when loading plugins in mysql_server_init()
: Fixed race condition in ma_net_init (Kudos to Alexander Sapin)
: CMake failed on MacOSX due to deprecated GSS API methods
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 31 May 2017
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Changed parameter type for parameter reconnect in mysql_optionsv from uint to my_bool
CONC-231: Wrong FSF address
fixed socket timeout problems (Windows)
: Fixed build for big-endian platforms
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 29 Jan 2020
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Included in MariaDB 10.4.12, MariaDB 10.3.22, and MariaDB 10.2.31
TLS/SSL: when the client doesn't procide a CA file and the option ssl_verify_server_cert was set, the peer cerificate will be validated against the system CA.
Fixes for the following :
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 11 May 2021
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-537: Only read from MYSQL_HOME if MARIADB_HOME was not set
CONC-548: Symbol conflict with libsodium
CONC-490: Handshake error when CLIENT_CONNECT_WITH_DB flag was set without specifying database
CONC-543: Hash functions conflict with GnuTLS
: Added cipher suites ECDHE-RSA-AES128-SHA256 (0xC027) and ECDHE-RSA-AES256-SHA384 (0xC028) to the cipher map which maps cipher suite names to the corresponding algorithm ids (Windows Schannel)
: Disabled checksum ignored in events (replication/binlog API)
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 19 June 2020
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-469: Use servers preferred authentication method unless another plugin was specified.
Added support for kFreeBSD builds
Fixed memory leak in GnuTLS if connection couldn't be established.
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 7 Sep 2018
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Fix for security vulnerability CVE-2018-3081
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 15 Feb 2022
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added new option MARIADB_OPT_RESTRICTED_AUTH (and corresponding "restricted-auth" option for configuration files) which specifies on or more comma spearated authentication plugins which are allowed for authenication.
If the server asks for an authentication plugin not listed in this option the connect attempt will fail with error CR_PLUGIN_NOT_ALLOWED.
Zstd compression is now supported for connections to a MySQL Server 8.0 or newer. Compression algorithms are now provided via plugins. If the Zstd compression plugin is not part of a downloaded package it means, that zstd is not installed by default on this platform. In this case you have to install the zstd libraries and include files and build the plugin from source.
Beside already supported asynchronous replication the replication/binlog API now supports semi synchronous replication.
host parameter of mysql_real_connect (and corresponding configuration settings MYSQL_OPT_HOST for mysql_options() api call and host key in configuration files) now accepts to specify multiple hosts and ports.
When establishing a connection, the list of specified hosts is run through until a connection can be established. If no connection can be established to any of the specified hosts, an error is returned.
mariadb_get_infov now supports options MARIADB_CONNECTION_BYTES_READ and MARIADB_CONNECTION_BYTES_SENT to obtain the bytes sent or read to/from database server.
A connection string contains key/value pairs, separated by a semicolon as used in ODBC. Supported keys are all configuration options which can be used in MariaDB configuration files. For a complete list check .
The connection string must contain at least one semicolon, otherwise it wil be interpreted as hostname. Unknown or invalid keys will be ignored.
To connect via connection string, the following methods might be used:
by specifing connection option in configuration file:
by using mariadb_connect() macro
by passing connection string in host parameter to mysql_real_connect
: rotate as first event isn't handled correctly (replication/binlog api)
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 22 May 2023
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Updated bundled zlib library (version 1.2.13)
: Added support for all binary log events (replication/binlog API).
: Support of semi-sync replication
: Checksum verification (replication/binlog API).
: Fixed NULL pointer dereference in unpack_fields().
: Clear server status and remove pending result sets in mysql_reset_connection().
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 25 Apr 2018
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added option MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS for mysql_options()/mysql_optionsv():If this option is set, client indicates that it will be able to handle expired passwords by setting the CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS capability flag. If password is expired and CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS is set, the server will not return an error when connecting, but will put the connection in sandbox mode, where all commands will return error 1820/1828 (ER_MUST_CHANGE_PASSWORD/ER_MUST_CHANGE_PASSWORD_LOGIN) unless a new password was set.
New plugin configuration interface: The default configuration for a specific plugin can be specified via cmake parameter -DCLIENT_PLUGIN_${PLUGIN}=[DYNAMIC|STATIC|OFF].
Added support for linux abstract socket (). Thanks to Daniel Black for his contribution.
Fixed various clang compiler warnings
: Access violation in mysql_close when using a connection plugin.
: If built dynamically the old_password plugin could not be located due to wrong filename (must be mysql_old_password.so instead of old_password.so).
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 11 Feb 2019
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Incorrect packet when a connection attribute name or value is equal to or greater than 251
: field->def_length is always set to 0 (only used by deprecated function mysql_list_fields).
Getter should get and the setter should set CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS (Thanls to Robert Bindar)
Disable LOAD DATA LOCAL INFILE suport by default and auto-enable it for the duration of one query, if the query string starts with the word "load". In all other cases the application should enable LOAD DATA LOCAL INFILE support explicitly.
Changed return code for mysql_optionv/mysql_get_optionv to 1 (was -1) and added CR_NOT_IMPLEMENTED error message if a option is unknown or not supported. This will fix possible error when setting connection attribute failed. (Thanks to Coray Hickey for providing this patch).
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 18 Nov 2015
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C. In general, marking this release as stable means that there are no known serious bugs, except for those marked as feature requests, that no bugs were fixed since last release that caused a notable code changes, and that we believe the code is ready for general usage (based on bug inflow).
For a description of this library see the page.
: Allow client to bind to a specific network address: On clients with multiple possible TCP routes to a server, it's now possible to bind the client to a specific address.This can be done either via mysql_options(mysql, MYSQL_OPT_BIND, bind_address) or by an entry "" in the configuration file.
: Source package doesn't contain mariadb_config.c.in
Add version information for executables, dynamic and static libraries (Windows only)
Digitally sign executables and dynamic link libraries (Windows only)
For a list of changes made in this release, with links to detailed information on each push, see the .
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 4 Dec 2017
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Connector/C now provides additional information on the package version: mariadb_config --cc_version lists the package version. Besides MARIADB_PACKAGE_VERSION, the numeric representation MARIADB_PACKAGE_VERSION_ID can now be used within preprocessor directives.
: mysql_stmt_fetch_column doesn't work with prior call to mysql_stmt_store_result
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 11 Nov 2019
This is a release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Plugin dialog could not be loaded (wrong path)
: Fixed typo in sha256_password cmake configuration
: For unknown/not handled schannel error codes FormatMessage function will be used instead of returning "Unknown error" message.
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 13 May 2019
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Host option in configuration file is ignored
: Fixed crash when server sent session tracking information with session type SESSION_TRACK_STATE_CHANGE
: MariaDB does not verify IP addresses from subject alternative names
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 11 Aug 2021
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: Incorrect max_length in binary protocol
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 3 Apr 2014
This is a (GA) release of the MariaDB Client Library for C. In general, marking this release as stable means that there are no known serious bugs, except for those marked as feature requests, that no bugs were fixed since the last release that caused notable code changes, and that we believe the code is ready for general usage (based on bug inflow).
For a description of this library, see the page.
Support of SSL client/server connection: Compared to the MariaDB GPL client library, this implementation uses a global (per library instance) SSL context, which needs less memory and results in better performance.
Read-a-head cache to reduce the system load and time.
Added an additional experimental layer to communicate with other databases via plugins, e.g., Sqllite. This feature is disabled by default and not recommended for production use.
MariaDB client library for C 2.0.0 contains about 80 bug fixes. For a complete list and description, please check the
For a list of changes made in this release, with links to detailed information on each push, see the .
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 20 Jan 2016
This is an release of MariaDB Connector/C, formerly known as the MariaDB Client Library for C. As with any other pre-production release, cautions should be taken when installing on production systems or systems with critical data. Not all of the features, planned for the final MariaDB Connector/C 3.0 release are implemented yet.
For a description of this library see the page.
Binary packages for Windows (32 and 64-bit) and generic Linux packages as well as source code packages are available from the
In addition to OpenSSL the following SSL libraries are supported in Connector/C 3.0:
GnuTLS
Windows Schannel. SChannel requires no other external libraries besides the Windows system libraries, and is the default for SSL Support on Windows operating systems.
All plugins can either be linked statically or built as shared objects (or dynamic link libraries on Windows)
pluggable Virtual IO (PVIO) for communication via socket, named pipe and shared memory
connection plugins, e.g for aurora failover or replication (master write, slave read)
remote IO plugin, which allows to access remote files (via http, https, ftp, ldap, ..)
mariadb_get_info and mariadb_get_infov (variable argument list) for obtaining general and connection specific values.
mariadb_get_charset_by_name and mariadb_get_charset_by_nr which return charset information for a given internal number or name of character set. These functions have been previously used internally by MariaDB Connector/ODBC and are now exported, so they can be used also within plugins.
mysql_get_option and mysql_get_optionv (variable argument list) for obtaining option values for a given connection.
We will cover new functionality in detail with a couple of blog entries during the next days. The first one "What's new in Connector/C 3.0: Part I SSL" can be found
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 10 Nov 2021
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
: If a stored procedure was executed as server side cursor and server doesn't set the SERVER_STATUS_CURSOR_EXISTS status flag, the result set will not be processed as a server side cursor.
: If mariadb_stmt_execute_direct fails, the number of parameters (obtained by response packet of mysql_stmt_prepare) will be set back to the number of prebinded parameters to avoid memory overrun.
: The API function mysql_load_plugin_v() now returns the plugin handle (instead of raising an error and returning a NULL handle) even if the plugin was already loaded. This will avoid possible race conditions, when one thread is loading the plugin while another thread waits for the lock to load the same plugin.
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
mysql_optionsv(mysql, MARIADB_OPT_VERIFY_LOCAL_INFILE_CALLBACK, my_verify_function, data);int my_verify_function(void *data, const char *filename)MARIADB_X509_INFO *info;
mariadb_get_infov(mysql, MARIADB_TLS_PEER_CERT_INFO, &info);CONC-634: Don't send compressed data if the server doesn't indicate compressed protocol support.
CONC-635: Disable TLS for named pipe and shared memory connections.
CONC-637: Fixed build if GSSAPI plugin is disabled
CONC-638: Fixed memory leak in ps_bugs unittest
CONC-642: Set CR_OUT_OF_MEMORY error in mysql_use_result() api function if allocation of memory failed
Added Travis and Appveyor build support
CONC-320: Added asynchronous/non-blocking support for OpenSSL and GnuTLS
CONC-317: Parsing of configuration file fails if key/value pairs contain white spaces.
CONC-322: Correct handling of EAGAIN and EINPROGRESS in internal_connect (socket) for non windows platforms.
CONC-323: mariadb_stmt_execute_direct hangs forever if compression used.
CONC-324: Wrong codepage numbers for some collations.
CONC-326: ssl_thread_init() uses wrong openssl threadid callback
CONC-385: Removed some cmake system checks
CONC-387: Fix case sensitive include file names for cross compiling
Fixed cnake policy CMP007
Support static linking auth plugins (Thanks to Inada Naoki)
Remove pdb files from Windows Release build (Thanks to Inada Naoki)
Fix build with deprecated OpenSSL API: replaced ERR_remove_state by ERR_remove_thread_state. (Thanks to Rosen Penev)
Fix for mariadb_convert_string - charset names for utf16 and utf32 are changed so iconv understands it. Also if endianness is not specified, BE charsets used by default, to avoid BOMs
OpenSSL fixes:
When negotiating TLS protocol during handshake, use server preferences instead of client preferences. This will allow using TLSv12 (OpenSSL server) and/or TLSv1.1 (Yassl server).
Don't check server ca unless verification flag was set. This will allow Connector/C to establish a tls/ssl connection without certificates.
Included in MariaDB 10.4.10, MariaDB 10.3.20, and MariaDB 10.2.29
Dynamic columns support via the dynamic column API
Support for utf16 character set
Documentation, currently available in HTML format only
Graphical installation wizard for Windows platforms (msi installer)
compressed protocol support for large packets
support for quoted values in configuration files
character set auto detection
Compiler support. MariaDB client library for C 2.0.0 will compile now also under mingw and Objective/C
Performance schema support for connection attributes
Added microseconds support for prepared statements: datetime, timestamp, and time to string conversion now return microseconds
Graphical installation wizard for Windows platforms (msi installer)
IPV6 support
allow old password authentication (pre 4.1 passwords)
Support for connection timeout parameter on Windows platforms
New API functions:
mysql_options_v (for option calls which require multiple parameters). For compatibility with libmysql, the function mysql_options4 is defined as a macro.
mysql_get_parameters
mysql_read_query_result
mysql_stmt_more_results
mysql_stmt_next_result
mysql_ps_fetch_functions (was internal before, now it can be used by client applications, e.g., ODBC, to convert between different types)
Support of passphrase protected private keys.
mysql_reconnect which was used internally before (if the option MYSQL_OPT_RECONNECT was set) is now part of the API and can be used by applications and plugins to reestablish a failing connection
Xcode compatibility update (Thanks to Sergei Krivonos for his contribution)
CONC-570: Removed callback function for crypto threads, since the callback function cannot be cleared (this affects OpenSSL <= 1.0.2 only)
Release date: 7 Jun 2018
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
CONC-336: Allow multiple initialization of client library
Fixed string to MYSQL_TIME conversion (prepared statements)
CONC-334: Copy all members of MYSQL_FIELD to internal statement structure
: Change default character set to latin1
Fixed double free in dynamic column library
Fixed plugin library on MacOS
Added checks for corrupted packets in protocol
: Added default connection attribute _server_host
: fixed wrong openssl thread id callback
: Allow to build without TLS support
Fixes for the following :
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
Release date: 14 May 2020
This is a Stable (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Included in MariaDB 10.5.3, MariaDB 10.4.13, MariaDB 10.3.23, and MariaDB 10.2.32
In this version we've moved to providing binaries for several different Linux distributions instead of just a pair of "generic" Linux binaries (a 32-bit and a 64-bit). If you want to continue using the generic binaries, they are still present and listed as "Ubuntu 14.04 32-bit" and "Ubuntu 14.04 64-bit" on the downloads page
CONC-304: Rename the static library to libmariadb.a and other libmariadb files in a consistent manner
: Default user name for C/C is wrong if login user is different from effective user
: Check $MARIADB_HOME/my.cnf in addition to $MYSQL_HOME/my.cnf
: mysql_list_processes crashes in unpack_fields
: mysql_get_timeout_value crashes when used improperly
: Fix static build for auth_gssapi_client plugin
Fixes for the following :
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 18 Jan 2018
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Added support for new utf8mb4 character sets
New installation layout for Debian
: Bundle first command with authentication packet
: Don't try to reconnect twice if mysql_ping failed.
Build fix for TSAN build with Clang
: Fix output of mariadb_config
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 29 Sept 2015
This is a (GA) release of the MariaDB Connector/C, formerly known as MariaDB Client Library for C. In general, marking this release as stable means that there are no known serious bugs, except for those marked as feature requests, that no bugs were fixed since last release that caused a notable code changes, and that we believe the code is ready for general usage (based on bug inflow).
For a description of this library see the page.
SSL: For preventing man in the middle attacks MariaDB Connector/C now supports additional validation of a server certificate by checking the SHA1-fingerprint. (New options: MARIADB_OPT_SSL_FP and MARIADB_OPT_SSL_FP_LIST)
: fix crash in mysql_close_start if connection is broken
: Initial wait on connect is wrong direction
: memory leak in mysql_close (asynchronous)
For a list of changes made in this release, with links to detailed information on each push, see the .
This page is licensed: CC BY-SA / Gnu FDL
The most recent release of is:
Release date: 21 Nov 2025
This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see the page.
Included in MariaDB Community Server , and
This release includes internal improvements to the build system and continuous integration setup. There are no user-facing changes, bug fixes, or new features in this version.
For a list of changes made in this release, with links to detailed information on each push, see the .
Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.
MariaDB may already be included in your favorite OS distribution. More information can be found on the page.
MDEV-14101: Add support for tls-version, via mysql_options(mysql, MARIADB_OPT_TLS_VERSION, value), where value must be "TLSv1.1", "TLSv1.2" or "TLSv1.3".
CONC-275: New indicator type STMT_INDICATOR_IGNORE_ROW for skipping particular parameter set in bulk operation (prepared statements).
MDEV-14647: Fixed crash when client receives extended ok packet with SESSION_TRACK_STATE_CHANGE information flag
CONC-297: setting MYSQL_OPT_LOCAL_INFILE failed on big endian systems.
MDEV-14514: mariadb_config returned wrong exit code when specifying an invalid option
MDEV-11546: Fixed timeout problem in Schannel
CONC-277: Allow reinitialization of the library if mysql_server_end() was called.
MDEV-11603: Solaris build fixes
CONC-292: Fixed malloc result check in dynamic columns
MDEV-14165: The metadata length value for a column with a zerofill flag was calculated with a fixed length instead of using the reported length.
CONC-286: Force TLS/SSL usage if fingerprint parameters were specified.
CONC-282: Connector/C now provides additional information for package version
mariadb_config --cc_version lists the package version
Beside MARIADB_PACKAGE_VERSION numeric representation MARIADB_PACKAGE_VERSION_ID can be used now within preprocessor directives.
MDEV-13959: Fixed duplicate if condition in dynamic columns
Added MARIADB_BASE_VERSION definition in mariadb_version.h to distnguish MARIADB from MySQL
CONC-276: client library crashes on Windows after TLS reconnect
CONC-271: installation layout fix for RPM
CONC-133: Centos 6 32 bits: Release build error: my_context.c:454: Error: CFI instruction used without previous .cfi_startproc
CONC-135: mysql_get_socket now returns MARIADB_INVALID_SOCKET
CONC-136: Asynchronous version of mysql_select_db was not exported
CONC-137: Error code not set in mysql_stmt_send_long_data
CONC-138: memory leak in mysql_ssl_set
CONC-139: Xcode/OSX build doesn't work
CONC-140: MinGW/Windows7 build doesn't work because ssize_t is redefined
CONC-141: Hang when working with prepared statements
CONC-143: use #include "my_stmt.h" instead of <my_stmt.h> in mysql.h
Fixed possible memory overrun: When reallocating net->buffer we need to allocate extra space for header and compressed header
removed dynamic column dependencies from my_global.h
fixed plugin path in mariadb_config
security fix: Don’t switch to untrusted connection if mysql_ssl_set was called and option for checking server certificate was enabled.
Added a global variable mariadb_deinitialize_ssl which controls if SSL will be deinitialized in mysql_server_end (see MDEV-6671)
Fixed string for hex_symbols in mysql_hex_string function
Download Release Notes Changelog
Release date: 21 Nov 2025
For the highlights of this release, see the release notes.
The revision number links will take you to the revision's page on GitHub. On GitHub you can view more details of the revision and view diffs of the code modified in that revision.
Revision #46880b00 2025-10-06 14:06:21 +0200
Merge branch '3.3' into 3.4
2025-10-06 11:45:00 +0200
Removed unused TYPELIB declarations
2025-09-24 07:58:36 +0200
Fix CMake 4.1 warning "ELSEIF called with no arguments"
2025-10-06 10:10:55 +0200
Merge branch '3.4-georg' into 3.4
2025-10-06 09:52:20 +0200
Skip sni test if hostname wasn't specified
2025-10-06 09:47:22 +0200
CONC-795: Implementation of client side SNI support
2025-09-22 14:10:02 +0200
Merge branch '3.4-georg' into 3.4
2025-09-22 13:58:22 +0200
github-actions: create msi on windows platforms
2025-09-18 17:30:25 +0300
Fix clang-21 -Wdefault-const-init-var-unsafe
2025-09-15 21:49:27 +0200
Merge branch '3.3' into 3.4
2025-09-15 21:48:46 +0200
[misc] adding windows 32 bits test to CI
2025-09-11 10:05:56 +0200
Merge branch '3.3' into 3.4
2025-09-11 09:33:36 +0200
Matrix and test setup have moved to mariadb-corporation github account.
2025-08-21 14:49:56 -0400
bump the VERSION
2025-08-21 12:05:31 +0200
Merge pull request #292 from mariadb-corporation/3.3-CONC-774-fixup
2025-08-15 09:03:43 +0300
CONC-774 fixup: Always emit BTI J
2025-08-21 14:51:05 -0400
bump the VERSION
2025-08-04 18:36:43 +0200
Merge branch '3.3' into 3.4
2025-08-04 16:49:38 +0200
CONC-783 fixup - make sure that proxy header is not sent twice
2025-08-04 15:17:37 +0200
Merge branch '3.3' into 3.4
2025-07-18 16:02:16 +0200
CONC-783 Fix potential loss of "Proxy header not accepted from host" error
This page is licensed: CC BY-SA / Gnu FDL
A list of all MariaDB Connector/C releases
Browse & download the latest MariaDB connectors
This page is licensed: CC BY-SA / Gnu FDL