Documentation Home
MySQL Connector/C++ Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 301.4Kb
PDF (A4) - 300.9Kb


MySQL Connector/C++ Release Notes  /  Changes in MySQL Connector/C++ 9  /  Changes in MySQL Connector/C++ 9.1.0 (2024-10-15, General Availability)

Changes in MySQL Connector/C++ 9.1.0 (2024-10-15, General Availability)

Functionality Added or Changed

  • Added OpenID Connect support leveraging the new authentication_openid_connect_client client-side authentication plugin. OpenID Connect functionality is supported by MySQL Enterprise Edition Server 9.1.0 and later.

    The new OPT_OPENID_TOKEN_FILE connection option defines a path to a file containing the JWT formatted identity token. (WL #16435)

  • The RPM and DEB packages now install a copy of the MySQL client library plugins for the connector. The version of these plugins match the version of the statically linked MySQL client library.

    They are installed to {libdir}/mysql/libmysqlcppconn{ABI}/plugin/ where {libdir} is the system location where packages install libraries. {ABI} is the connector's ABI version, which is currently 10.

    The connector installed from RPM and DEB packages use the bundled plugins as needed without requiring the PLUGIN_DIR connection option, although the PLUGIN_DIR connection option is still available to change the plugin location. Runtime dependencies required by the plugins, such as Kerberos and LDAP libraries, are expected on the system and installed from their own packages. (WL #16458)

Bugs Fixed

  • Starting from version 9.1.0, it might be necessary to add the -lz option when linking user code with a static connector library on some platforms. This is handled automatically if specifying a build configuration with CMake using the mysql-concpp module. (Bug #37116076)

  • The zlib sources bundled in the Connector/C++ source tree were upgraded to zlib 1.3.1. (Bug #37069890)

  • On Debian-based systems, executing apt-get install libmysqlcppconnx2 would fail if the dpkg-dev package that installs the required dpkg-architecture command was not installed on the system. The dpkg-architecture dependency was removed. (Bug #36807184)

  • Added a new RPM compatibility package (mysql-connector-c++-compat) to allow upgrades from versions older than 9.0.0, the version that the ABI version changed from 9 to 10. (Bug #36753748, WL #16462)