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


MySQL Connector/Python Release Notes  /  Changes in MySQL Connector/Python 1.0  /  Changes in MySQL Connector/Python 1.0.5 (2012-07-17, Beta)

Changes in MySQL Connector/Python 1.0.5 (2012-07-17, Beta)

First beta release.

Functionality Added or Changed

  • Added descriptive error codes for both client and server errors in the module errorcode. A new sub-package locales has been added, which currently only supports English client error messages.

    For example, errorcode.CR_CONNECTION_ERROR is 2002.

  • Added SQLMode class in the constants module to make it easier to set modes. For example:

    cnx.sql_mode = [SQLMode.REAL_AS_FLOAT, SQLMode.NO_ZERO_DATE]