This is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: 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
Changelog
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.
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
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
Changelog
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 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.
Changelog
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 is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
CONC-650: Added XID support for GTID_EVENT (replication/binlog API)
Issues fixed:
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)
Changelog
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 is a Stable (GA) release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
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
Added support for ROWS_EVENT_V2 (binlog api). Special Thanls to Sutou Kouhei for his contribution
Changelog
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.
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.
Fix sigbus error with non blocking API (ARM/MacOS)
Changelog
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 is a Stable (GA) release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
CONC-760: Valid named pipe connection on Windows is closed. Fixed different behavior of pvio_is_alive (which was first used with fix of CONC-589). Both for sockets and named pipe the function now returns true if the connection is alive, otherwise false
Changelog
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 is a Stable (GA) release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
removed server certification flag from client capabilities (this is a client only option)
build fixes
Changelog
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.
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.
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 is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Items
Included in MariaDB Community Server , , , and
New functionality
: Client side SNI support
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: certificate info is read on every connect
: parse_connection_string ignores empty string in last parameter
: Fix gcc-14 -Wcalloc-transposed-args
Notable Changes
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
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Items
Included in MariaDB Community Server , and
Issues Fixed
: Fix potential loss of "Proxy header not accepted from host" error
: TLS v1.3 support for Windows Server
: Enable rpl_set_error
Changelog
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 is a 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 , , and . MariaDB Connector/C 3.3.13 includes additional bug fixes for the Connector.
For a description of this library see thepage.
Notable changes
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.
Issues fixed:
Fixed possible crash if not default plugin was loaded.
: Undefined behavior in the reference ed25519 implementation
: Fixed error "SEC_E_ALGORITHM_MISMATCH" connecting Windows client to Ubuntu
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
More robust call to X509_check_host using strlen (PR 206)
Build fix: Don't require kerberos libraries which aren't used
Issues fixed:
: Fix connection error on MacOSX
: Fix build for MacOSX
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
: Allocate memory for proxy options
: Handle alerts after tls handshake has completed (OpenSSL)
: Fixed license header
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
: Incorrect max_length in binary protocol
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: Don't substitute parameters in server error message
: Fix memory leak in prepared statements if realloc failed
: Fixed error numbers
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
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 minor version number. Going forward, releases in the series will correspond to the same minor version of . e.g. Connector/C 3.2.2 is included in .
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: parse_connection_string ignores empty string in last parameter
: Replace COM_PROCESS_KILL by KILL command
Changelog
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.
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.
New Features
: Do not resend prepared statement metadata unnecessarily
: Added support for passwords > 255 characters
LOAD DATA LOCAL is now supported in binary protocol
Notable changes:
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 is a release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Bugs Fixed
: 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
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
More robust call to X509_check_host using strlen (PR 206)
Build fix: Don't require kerberos libraries which aren't used
Issues fixed:
: Fix connection error on MacOSX
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
: 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
Changelog
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 is a release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Changes
Included in , , and
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 :
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
: Fixed crash when reconnecting via TLS
: Disable sigpipe errors for GnuTLS
: Infinite loop in pvio_socket_internal_connect: Kudos to Hugo Wen who reported this issue and provided a fix)
Changelog
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 is a release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Changes
: 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.
Changelog
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 is an release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
New Features
Included in
: 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.
Bug fixes
: Dashes and underscores are not interchangeable in options in my.cnf
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Bug Fixes
: 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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: Replace COM_PROCESS_KILL by SQL kill command
: memory leak fixed in get_default_configuration_dirs()
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
Added support for setting zstd compression level via mysql_optionsv parameter MYSQL_OPT_ZSTD_COMPRESSION_LEVEL.
Issues fixed:
: 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
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Bug fixes
Added missing pdb's to windows installer
Fixed windows build when using external zlib
mingw fix: use lowercase names for include files
New features
: Added new caching_sha2_password authentication plugin for authentication with MySQL 8.0
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Bug fixes
: 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
Changelog
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 is a release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Changes
: Fixed error when loading intermediate chained certificates
: Fixed wrong zlib in mariadb_config when building inside server package
: MYSQL_UNIX_ADDR and MYSQL_PORT are now defined
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: 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
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Bug fixes
: 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.
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues fixed:
: 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
Notable changes
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.
Contributions
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)
Changelog
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 is a release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Bug fixes
: client plugins can't be loaded due to missing prefix
Fixed version setting in GnuTLS by moving "NORMAL" at the end of priority string
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
New features
Plugin API interface change: Changed the interface of authentication plugins, so plugins from C/C 3.0 (like GSSAPI/Kerberos plugin) can be used with Connector/C 2.3
Notable Bug fixes
: Any field going after a TEXT field in the selecion list is fetched incorrectly (prepared statements)
: Can't use more than one statement per connection
: Add client support for missing collations
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 is the initial (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 thepage.
For a list of changes made in this release, with links to detailed
information on each push, see the .
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 thepage.
New features
Added support for OpenSSL 1.1 library
Notable Bug fixes
: 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
Connector/C 3.4.4 Release Notes
The most recent release of is:
Connector/C 3.4.7 Release Notes
The most recent release of is:
Connector/C 3.4.0 Release Notes
The most recent release of is:
Connector/C 3.3.8 Release Notes
The most recent release of is:
Connector/C 3.1.23 Release Notes
The most recent release of is:
Connector/C 3.2.5 Release Notes
The most recent release of is:
Connector/C 3.3.9 Release Notes
The most recent release of is:
Connector/C 3.1.6 Release Notes
The most recent release of is:
Connector/C 3.0.9 Release Notes
The most recent release of is:
Connector/C 3.1.20 Release Notes
The most recent release of is:
Connector/C 3.1.26 Release Notes
The most recent release of is:
Connector/C 3.4.5 Release Notes
The most recent release of is:
Connector/C 3.2.7 Release Notes
The most recent release of is:
Connector/C 3.1.3 Release Notes
The most recent release of is:
Connector/C 3.3.2 Release Notes
The most recent release of is:
Connector/C 3.0.7 Release Notes
The most recent release of is:
Connector/C 3.1.13 Release notes
The most recent release of is:
Connector/C 3.1.15 Release Notes
The most recent release of is:
Connector/C 2.3.3 Release notes
The most recent release of is:
Connector/C 3.1.1 RC Release Notes
The most recent release of is:
Connector/C 2.3.6 Release Notes
The most recent release of is:
Connector/C 3.0.0 Release Notes
The most recent release of is:
Connector/C 2.2.2 Release Notes
The most recent release of is:
Connector/C 3.1.11 Release Notes
The most recent release of is:
Connector/C 3.1.9 Release Notes
The most recent release of is:
MDEV-34424 Replica server crashes when using ed25519 plugin
CONC-417, MDEV-13492: At irregular intervals older windows versions (prior Windows 10) fail to establish a secure (TLS) connection and return errors SEC_E_INVALID_TOKEN, SEC_E_BUFFER_TOO_SMALL or SEC_E_MESSAGE_ALTERED. This is a bug in windows schannel library and was only fixed in recent versions, also OpenSSL provided a workaround (see 1350). Since we are unable to fix this, in case of an error during TLS handshake the errorcode Connector/C will try to reconnect up to three times if the error code was SEC_E_INVALID_TOKEN, SEC_E_BUFFER_TOO_SMALL or SEC_E_MESSAGE_ALTERED.
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.
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.
: 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
Changelog
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.
: Disable clang -Wcast-function-type-strict for makecontext
: Fix build error on android
: Updated bundled zlib
Changelog
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 is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
TLS encryption
CONC-692: 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:
MDEV-31857: 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:
MDEV-30366 - 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
Issues fixed
CONC-605: Don't allow to use unsupported client flags in mysql_real_connect CONC-677: Fix memory leak when setting default configuration directories CONC-648: Don't trust error packets received prior to TLS handshake completion. (Kudos to Daniel Lenski for his contribution CONC-683: Check pending results when closing statement CONC-688: mariadb_rpl_fetch() crashes if table is partitioned
Contributions
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)
Changelog
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.
: Initialize time struct in pvio_socket_set_timeout
: Avoid false positive gcc warning
: fix build with clang (v16), clang-cl(v16), and mingw-gcc(v12)
Remove WORDS_BIGENDIAN
Changelog
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.
: Initialize time struct in pvio_socket_set_timeout
: Avoid false positive gcc warning
Remove WORDS_BIGENDIAN
Changelog
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 is a Stable (GA) release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
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)
Changelog
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 is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
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)
Issues fixed:
CONC-648: Don't trust error packets received prior to TLS handshake completion. (Kudos to Daniel Lenski for his contribution)
Changelog
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.
CONC-446: Provide error code and message for Schannel errors
CONC-417 / CONC-391 / MDEV-13492 : SEC_E_INVALID_TOKEN when server sends large message during SSL handshake
Included in , , and
Changelog
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 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 thepage.
Notable Bug fixes
CONC-384: Incorrect packet when a connection attribute name or value is equal to or greater than 251
CONC-388: 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)
Build system
: Removed some cmake system checks
: Fix case sensitive include file names for cross compiling
Fixed cnake policy CMP007
New features
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).
Changelog
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.
: Check error code ranges and provide support for variadic arguments in prepared statement errors.
Changelog
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 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 thepage.
Issues fixed:
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
Changelog
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 is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Issues Fixed
CONC-760: Valid named pipe connection on Windows is closed. Fixed different behavior of pvio_is_alive (which was first used with fix of CONC-589). Both for sockets and named pipe the function now returns true if the connection is alive, otherwise false
Changelog
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.
Fixed sigbus error when calling mysql_real_connect_start (MacOS/Arm5)
Build fix for Android NDK
Updated bundled zlib (Version 1.2.12)
Changelog
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.
: Ignore SERVER_STATUS_CURSOR_EXISTS if client didn't open a cursor before
: Fixed crash in GnuTLS when key and certificate are in the same file
: Don't allow invalid characters in plugin names
: Fixed Location of PLUGINDIR if Connector/C is a subproject
Fixes for the following :
Changelog
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 is a Stable (GA) release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
CONC-598: Callback support for status and session_tracking
Bugs fixed
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.
Changelog
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 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 thepage.
Notable Bug fixes
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
New features
CONC-349: Added new parameter STMT_ATTR_STATE to retrieve statement status via api function mysql_stmt_attr_get
Changelog
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.
: 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)
Changelog
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 is a Stable (GA) release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
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)
Changelog
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.
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 is a Release Candidate (RC) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Bug fixes
CONC-416: Changed order for lookup configuration files on Windows
CONC-386: Added support for pem files which contain certificate and private key.
CONC-412: Allow TLS version 1.2 when using SChannel (Windows)
Changelog
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 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 thepage.
Notable Bug Fixes
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
Changelog
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 is an Alpha 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 thepage.
Download
Binary packages for Windows (32 and 64-bit) and generic Linux packages as well
as source code packages are available from the MariaDB download page
New features
SSL
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.
Support of the TLSv1.1 and TLSv1.2 protocols.
Support of passphrase protected private keys.
Plugins
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, ..)
Trace plugin (for analyzing and dumping network traffic)
New API functions
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.
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
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 here
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.
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.
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)
Bugs Fixed
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
Changelog
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 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 thepage.
Notable Changes
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.
Changelog
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 is a release of MariaDB Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
Updated bundled zlib library (version 1.2.13)
: Added support for all binary log events (replication/binlog API).
: Support of semi-sync replication
Issues fixed:
: Checksum verification (replication/binlog API).
: Fixed NULL pointer dereference in unpack_fields().
: Clear server status and remove pending result sets in mysql_reset_connection().
Changelog
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 is a 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 Connector/C 3.4.3 includes additional bug fixes for the Connector and is included in , and .
For a description of this library see thepage.
Notable Changes
Added option MARIADB_TLS_VERIFY_STATUS to retrieve status of peer certificate validation via mariadb_get_infov().
: 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.
: Added option MARIADB_OPT_TLS_VERIFICATION_CALLBACK to specify a callback function for peer certificate testing.
Issues fixed:
: Skip host name verification on local connections
: Wrong error message if incorrect fingerprint was specified
: Always set verification callback function, even if peer certificate validation is disabled (OpenSSL)
Changelog
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 is a release of MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable changes
Updated bundled zlib library (version 1.2.13)
Issues fixed:
: Fixed NULL pointer dereference in unpack_fields().
: Clear server status and remove pending result sets in mysql_reset_connection().
: 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.
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
New features
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
Notable Bug fixes
In case getaddrinfo() returns an error, we return the WSA Error code instead of gai error. (For more information please read )
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.
Changelog
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 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.
New features:
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.
Bug fixes
MariaDB client library for C 2.0.0 contains about 80 bug fixes. For a complete list and description, please check the
Changelog
For a list of changes made in this release, with links to detailed information on each push, see the .
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 thepage.
Notable Bug fixes
: Allow multiple initialization of client library
Fixed string to MYSQL_TIME conversion (prepared statements)
: Copy all members of MYSQL_FIELD to internal statement structure
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Bug Fixes
: Fixed malloc result check in dynamic columns
: Don't try to reconnect twice in mysql_ping
: In case of a truncation the statement status was not updated correctly and further calls to mysql_stmt_fetch_column failed
New features/functionality
New Debian installation layout (cmake option -DINSTALL_LAYOUT=DEB)
: Add support for new utf8mb4 collations
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Notable Bug fixes
: FIx IS_NUM() macro
Coverity scan bug fixes
: local infile parameter must be unsigned int instead of my_bool
Changelog
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 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 thepage.
New features
: 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.
CONC-644: Build named pipe plugin as built-in plugin (Windows)
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.
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
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 *)
CONC-190: 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
CONC-177: fixed zerofill issues (converting numeric to string)
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)
Fixed build errors for Microsoft Visuall Studio 2015
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
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 thepage.
Features
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 (MDEV-15655). Thanks to Daniel Black for his contribution.
Added Travis and Appveyor build support
: Added asynchronous/non-blocking support for OpenSSL and GnuTLS
Notable Bug fixes
Fixed various clang compiler warnings
CONC-294: Access violation in mysql_close when using a connection plugin.
MDEV-14977: 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).
: If no default client character set was specified, the utf8 character set will be used by default (instead of setting the client character set to server character set)
: Parsing of configuration file fails if key/value pairs contain white spaces.
: Correct handling of EAGAIN and EINPROGRESS in internal_connect (socket) for non windows platforms.
: mariadb_stmt_execute_direct hangs forever if compression used.
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.
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 :
Changelog
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 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 thepage.
Features
Array support for prepared statements (bulk operations)
TLS/SSL support for GnuTLS, Windows SChannel and LibreSSL
Support for passphrase protected keys
SHA256 authentication plugin
New API functions
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: returns character set 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_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
mariadb_cancel: aborts a connection immediately by making all subsequent read/write operations fail
mariadb_stmt_execute_direct: prepares and executes a prepared statement for one time execution
mysql_stmt_warning_count returns: the number of warnings from the last executed statement
mysql_reset_connection: resets the current connection and clears session state
Functions for obtaining session state changes:
mysql_session_track_get_first()
mysql_session_track_get_next()
Notable Bug fixes
MDEV-13317: Crash in PHP5 when using libmariadb and curl mpdules
MDEV-13320: Wrong output for mariadb_config on OSX
MDEV-12889: Missing version info for shared object
: Connector/C reads only the first configuration file
: Can't read custom config file
: Install fails to create symlinks
: mariadb_stmt.h contains c++ comments
: Don't use deprecated API calls with OpenSSL 1.1
: Server does not respond for single query execution
: double free if no default configuration is present
: cmake with option -DWITH_ASAN no longer works
: Connector/C integration does not respect INSTALL_LIBDIR or INSTALL_DOCDIR
: Fixed conversion for big-endian platforms
: Use unsigned long instead of size_t for api functions
: Big endian fixes
: Compiler warnings in gssapi_client.c
: Added support for wildcards and SAN
: Incorrect FSF address
: Allow to build without TLS support
: Added missing collations
: Installation fixes for missing include files
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.
: Only use MYSQL_HOME environment variable if MARIADB_HOME was not specified.
: disabled checksum ignored in event processing (Replication/Binlog API)
: export function mariadb_rpl_init_ex (Replication/Binlog API)
: define _XOPEN_SOURCE before including ucontext.h (MacOS)
: Added macro IS_MYSQL_ASYNC() which now checks if memory for extension was allocated.
: if plugin dir was not specified, plugin needs to be loaded from current path, DLPATH or PATH (Windows)
Notable changes:
The connection plugin "aurora" was removed
Default character set is now utf8mb4
Character set utf8 will be mapped to utf8mb3
Added support for MSVC asan
Changelog
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 is a Stable(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 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.
New features
Non-blocking (asynchronous) API. For a detailed description, see .
New dialog and mysql_clear_text authentication plugins.
New configuration options
CMake build now supports the following additional configuration options:
-DINSTALL_LAYOUT=DEFAULT or RPM
Allows to overwrite default directories
-DLIB_INSTALL_DIR
-DINCLUDE_INSTALL_DIR
-DDOCS_INSTALL_DIR
-DPLUGINS_INSTALL_DIR
-DBIN_INSTALL_DIR
Bug fixes
Reduce build time by creating an OBJECT library (introduced in CMake 2.8.8)
Out-of-source build touches files in source dir (CONC-88)
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.
ZStandard compresion support
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.
Support for semi synchronous replication (CONC-470)
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_CONNECTION_BYTES_READ and MARIADB_CONNECTION_BYTES_SENT
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 config_files#configuration-options.
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
Bugs fixed
CONC-467: rotate as first event isn't handled correctly (replication/binlog api)
Changelog
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 is a (GA) release of the MariaDB
Connector/C, formerly known as MariaDB Client Library for C.
For a description of this library see thepage.
Features
Added support for new utf8mb4 character sets
New installation layout for Debian
: Bundle first command with authentication packet
Notable Bug fixes
: 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 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 thepage.
New features
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)
Bug fixes
: fix crash in mysql_close_start if connection is broken
: Initial wait on connect is wrong direction
: memory leak in mysql_close (asynchronous)
Changelog
For a list of changes made in this release, with links to detailed
information on each push, see the .
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.
int my_verify_function(void *data, const char *filename)
Build: support static OpenSSL on Windows
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).
CONC-301: In case of a truncation the statement status was not updated correctly and further calls to mysql_stmt_fetch_column failed
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
This is a 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.
For a description of this library see thepage.
Download
Binary packages for Windows (32 and 64-bit) and generic Linux packages as well
as source code packages are available from the
New features
for prepared statements
bulk operations (array binding) for prepared statements (insert, update, delete).
support for extended client/server capabilities (requires or newer)
Plugins
New .
New API functions and enhancements
prepares and executes in one step (mainly used by MariaDB ODBC driver)
aborts a connection immediately by making all subsequent read/write operations fail
resets the current connection and clears session state
Notable bug fixes
: Allow to build Connector/C without TLS/SSL support
: Add client support for missing collations
: reset a previously used statement when calling mysql_stmt_attr_set with option STMT_ATTR_PREBIND_PARAMS
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 DBUG library was removed from Connector/C 3.0
Connector/C 2.3.2 now supports client plugins from MariaDB Server and Connector/C 3.0, for example GSSAPI plugin for kerberos authentication. Older plugins from previous versions of Connector/C can't be used anymore and might crash.
returns generic or connection specific information
returns warnings per statement
Functions for obtaining session state changes:
Added tls_version support for schannel. tls_version has to be specified via mysql_options(mysql, MARIADB_OPT_TLS_VERSION, ...)
: mariadb_stmt_execute_direct: Clear error message from mysql_stmt_execute if prepare failed
: remove definition of _snprintf (failed with Visual Studio 15)
: support of my_ulonglong
: return system error message in case of SEC_E_INTERNAL_ERROR (Schannel)
: Fixed length calculation for zerofill conversion from float/double to string
: missing blank in mariadb_config --libs output
: Memory corruption in mariadb_dyncol_unpack
: string conversion of timestamps is broken
: Increase username length to 128
: field metadata doesn't show NUM_FLAG for NEWDECIMAL columns
: return trailing zero when fetching from binary columns into string
: set statement status to MYSQL_STMT_FETCH_DONE if result set is empty or mysql_stmt_reset was called
Solaris build fixes
Build fixes for gcc 4.8
Fixed possible overrun in authentication
fixed crash in shared memory connection
Fixed memory overrun in my_strdup_root
binary fetch fixes for prepared statements:
append trailing \0 for strings
don't remove last byte for binary objects
removed call of gnutls_bye() since server is not able to detect dead socket
Added new cipher mapping for GnuTLS
removed global context for TLS/SSL sessions
fixed wrong behavior when using SChannel: SEC_I_RENEGOTIATE is now handled as error
Optimization for re-preparing statement: Don't send COM_STMT_RESET if we will send COM_STMT_CLOSE afterwards
: fixed conversion for big-endian platforms
: Connector/C integration does not respect INSTALL_LIBDIR or INSTALL_DOCDIR
: my_context_continue() does not store current fiber on Windows
Added support for OpenSSL 1.1
fixed build when using GnuTLS. Minimum required version of GnuTLS is 3.3.24
fixed output for plugin directory in mariadb_config
The revision number links will take you to the revision's page on GitHub. On you can view more
details of the revision and view diffs of the code modified in that revision.
Revisions for both Connector/C 3.4.6 and 3.4.7 are included here
fix: fixed the possible nullPointerAritheticOutOfMemory by using SET_CLIENT_ERROR and return 1; because jumping to the error label is not viable in this case as pos is not initialized and it could raise more errors, this way we still handle the error while not clashing with the original error handling implementation
fix: fixed the posibility of undefined behaviour of the strchr previously at 252 if the strdup at 248 fails and thus returns NULL by setting a client error signalling that the client ran out of memory for easier communication of what exactly failed during the loading of the plugins and why. Returning from the function just after
fix: fixed a possible leak when one of the files (fp1 or fp2) fails to open by adding a simple condition that checks whether one of them opens while the other fails and closing it and added the extra prentheses for the assignment inside the if statement for easier debugging and to avoid static analysis flagging it as a wrong statement inside the if clause
fix: fixed the posible read of NULL when strdup fails thus resulting in rpl->filename being NULL by setting an error signalling that we ran out of memory to ease the debugging of the mariadb_rpl_options function and make it clearer if it ever fails because of this. Also added va_end in this case to avoid the va_list (ap) leaking when we return from this function and then returning 1 from the fucntion.
Added the FAIL_UNLESS call for the bind variable that is being allocated to handle the possibility of the calloc failing and ensure we are not working with NULL in the rest of the tests
Added the call to FAIL_UNLESS to handle the possibility of the allocation of buffer failing to ensure we don't work with NULL further in the test, also added a free to bind in this case to avoid a memory leak
Added the call to FAIL_UNLESS to handle the possibility of the allocation of buffer failing to ensure we don't work with NULL further in the test, also added a free to bind in this case to avoid a memory leak
Added the FAIL_UNLESS call for the bind variable that is being allocated to handle the possibility of the calloc failing and ensure we are not working with NULL in the rest of the tests
fix: fixed the posible read of NULL when strdup fails thus resulting in rpl->filename being NULL by setting an error signalling that we ran out of memory to ease the debugging of the mariadb_rpl_options function and make it clearer if it ever fails because of this. Also added va_end in this case to avoid the va_list (ap) leaking when we return from this function and then returning 1 from the fucntion.
fix: fixed a possible leak when one of the files (fp1 or fp2) fails to open by adding a simple condition that checks whether one of them opens while the other fails and closing it and added the extra prentheses for the assignment inside the if statement for easier debugging and to avoid static analysis flagging it as a wrong statement inside the if clause
fix: fixed the posibility of undefined behaviour of the strchr previously at 252 if the strdup at 248 fails and thus returns NULL by setting a client error signalling that the client ran out of memory for easier communication of what exactly failed during the loading of the plugins and why. Returning from the function just after
fix: fixed the possible nullPointerAritheticOutOfMemory by using SET_CLIENT_ERROR and return 1; because jumping to the error label is not viable in this case as pos is not initialized and it could raise more errors, this way we still handle the error while not clashing with the original error handling implementation