Documentation Home
MySQL Connector/Python Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr) - 140.3Kb
PDF (A4) - 139.6Kb
EPUB - 41.9Kb


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

Changes in MySQL Connector/Python 1.0.5 (17 July 2012, 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]