Documentation Home
MySQL Connector/Python Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 329.7Kb
PDF (A4) - 330.6Kb


MySQL Connector/Python Release Notes  /  Changes in MySQL Connector/Python 8.x  /  Changes in MySQL Connector/Python 8.0.28 (2022-01-18, General Availability)

Changes in MySQL Connector/Python 8.0.28 (2022-01-18, General Availability)

Deprecation and Removal Notes

  • The TLSv1 and TLSv1.1 connection protocols were previously deprecated in Connector/Python 8.0.26 and support for them is removed starting with this release. Instead, use TLSv1.2 or TLSv1.3.

    Note: the tls_versions connection option now defaults to '["TLSv1.2", "TLSv1.3"]' when before it was '"TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"'. (WL #14814)

Functionality Added or Changed

  • Connector/Python can now establish connections using Multi-Factor Authentication (MFA), such that up to three passwords can be specified. The new password1, password2, and password3 connection options are available for specifying the first, second, and third MFA passwords, respectively. The password1 option is a synonym for the existing password option. (WL #14667, WL #14720)

  • Added Python 3.10 support. (WL #14813)

Bugs Fixed

  • A MySQL decimal field type was returned as a string instead of a decimal type. (Bug #33486094)

  • Fixed compiler warnings that were shown when building Connector/Python. (Bug #33410592)

  • Fixed the JSON conversion class in CMySQLConnection; and fixed the related exception raised when using a conversion class in a C extension connection object. (Bug #33409819, Bug #105012)

  • Sent invalid 'params' argument definitions in execution methods to the server instead of raising an error; and this generated an error unrelated to the invalid parameter definition. (Bug #27358941)