Documentation Home
MySQL Connector/ODBC Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 369.1Kb
PDF (A4) - 368.0Kb


MySQL Connector/ODBC Release Notes  /  Changes in MySQL Connector/ODBC Version 8.0  /  Changes in MySQL Connector/ODBC 8.0.31 (2022-10-11, General Availability)

Changes in MySQL Connector/ODBC 8.0.31 (2022-10-11, General Availability)

Security Notes

Functionality Added or Changed

  • Packaging: On Windows, the debugging (PDB) files were moved to a separate download. While the regular packages are built with RelWithDebInfo enabled, the associated PDB files are no longer included in the standard downloads. The separate debug package contains PDB files for the regular builds (in lib/), driver files and their associated PDB files built in Debug mode (in Debug/lib/), and unit tests.

  • Removed the deprecated NO_I_S connection option; usage is ignored and does not trigger an error or warning.

  • Added the ssl-crl and ssl-crlpath connection options to configure the Certificate Revocation List (CRL) list.

Bugs Fixed

  • Converting binary data to binhex with SQLGetData() would unexpectedly halt on the 2nd call to SQLGetData() when the buffer size was smaller than the data size. (Bug #34486645)

  • Now the connection collation can now be specified via INITSTMT; when before setting it was overridden by the ODBC driver. (Bug #34020457)

  • With the ANSI ODBC driver, a call to SQLColumns returned the Unicode DATA_TYPE equivalent; SQL_WVARCHAR instead of SQL_VARCHAR, SQL_WCHAR instead of SQL_CHAR, and SQL_WLONGVARCHAR instead of SQL_LONGVARCHAR. (Bug #107766, Bug #34355094)

  • Improved query parameter support and performance with prepared statements. (Bug #107745, Bug #34350417)

  • Added a test case for a Server bug that was fixed in MySQL Server 8.0.31; its release note is as follows:

    A prepared statement with parameters could fail to update a row, but the same statement with the same data did update the row when issued as a query. The fix for the problem is to assign a default data type to the parameters, although this can be inefficient because there is no context available for data type propagation and a character string type is given implicitly. In this case, the best practice is to wrap such parameter declarations in CAST clauses that supply the desired data types. (Bug #105013, Bug #33401384)