MySQL Blog Archive
For the latest blogs go to blogs.oracle.com/mysql
MySQL Connector/C++ 8.0.23 has been released

Dear MySQL users,

MySQL Connector/C++ 8.0.23 is a new release version of the MySQL
Connector/C++ 8.0 series.

Connector/C++ 8.0 can be used to access MySQL implementing Document
Store or in a traditional way, using SQL queries. It allows writing
both C++ and plain C applications using X DevAPI and X DevAPI for C.
It also supports the legacy API of Connector/C++ 1.1 based on JDBC4.

To learn more about how to write applications using X DevAPI, see
“X DevAPI User Guide” at

https://dev.mysql.com/doc/x-devapi-userguide/en/

See also “X DevAPI Reference” at

https://dev.mysql.com/doc/dev/connector-cpp/devapi_ref.html

and “X DevAPI for C Reference” at

https://dev.mysql.com/doc/dev/connector-cpp/xapi_ref.html

For generic information on using Connector/C++ 8.0, see

https://dev.mysql.com/doc/dev/connector-cpp/

For general documentation about how to get started using MySQL
as a document store, see

http://dev.mysql.com/doc/refman/8.0/en/document-store.html

To download MySQL Connector/C++ 8.0.23, see the “General Availability (GA)
Releases” tab at

https://dev.mysql.com/downloads/connector/cpp/

Changes in MySQL Connector/C++ 8.0.23 (2021-01-18, General Availability)

     * Legacy (JDBC API) Notes

     * Functionality Added or Changed

     * Bugs Fixed

Legacy (JDBC API) Notes

    * Previously, to build or run applications that use the
       legacy JDBC API, it was necessary to have Boost
       installed. Boost is no longer required for such
       applications. The API has not changed, so no code changes
       are required to build applications. However, in
       consequence of this change, the ABI version has increased
       from 7 to 9. To run applications, a version of
       Connector/C++ built with the same ABI must be installed:

          + Applications built using the new ABI require a
            version of Connector/C++ also built using the new
            ABI.

          + Applications built using the old ABI require a
            version of Connector/C++ also built using the old
            ABI.
       To build the legacy connector itself from source, it is
       still necessary to have Boost installed.

Functionality Added or Changed


     * All calls that allow a column name, such as findColumn(),
       getString(), and getInt(), are now case-sensitive. (Bug
       #30126457, Bug #96398)

     * The developer documentation was improved regarding how to
       decode the bytes received by mysqlx_get_bytes(). Thanks
       to Daniël van Eeden for pointing at the missing
       documentation. (Bug #29115299, Bug #93641)

     * Thanks to Daniël van Eeden, who contributed various
       corrections to the developer documentation. (Bug
       #29038157, Bug #93549)

     * A dependency on the mysql-client-plugins package was
       removed. This package now is required only on hosts where
       Connector/C++ applications make connections using
       commercial MySQL server accounts with LDAP
       authentication. In that case, additional libraries must
       also be installed: cyrus-sasl-scram for installations
       that use RPM packages and libsasl2-modules-gssapi-mit for
       installations that use Debian packages. These SASL
       packages provide the support required to use the
       SCRAM-SHA-256 and GSSAPI/Kerberos authentication methods
       for LDAP.
       If Connector/C++ applications do not use LDAP
       authentication, no additional packages are required.

Bugs Fixed


     * Connector/C++ 8.0 RPM packages could not be installed on
       a system where MySQL 5.7 RPM packages were installed.
       (Bug #32142148)

     * Establishing a connection using a ConnectOptionsMap
       object could fail due to differences in std::string
       implementations. (Bug #32039929)

     * Commercial Connector/C++ RPM packages were missing
       provides information. (Bug #31775733)

On Behalf of MySQL Release Engineering Team,
Tvarita Jain