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

MySQL Connector/Python Release Notes  /  Changes in MySQL Connector/Python 1.1  /  Changes in MySQL Connector/Python 1.1.5 (2014-01-31)

Changes in MySQL Connector/Python 1.1.5 (2014-01-31)

Functionality Added or Changed

  • Connector/Python is now compatible with Django 1.6. (Bug #17857712)

  • utf8mb4 is now recognized as a valid character set. (Bug #70596, Bug #17780576)

  • The start_transaction() method now supports a readonly argument. This argument can be True to start the transaction in READ ONLY mode or False to start it in READ WRITE mode. If readonly is omitted, the server's default access mode is used. For details about transaction access mode, see the description for the START TRANSACTION statement at START TRANSACTION, COMMIT, and ROLLBACK Syntax. If the server is older than MySQL 5.6.5, it does not support setting the access mode and Connector/Python raises a ValueError. (Bug #70545, Bug #17573172)

Bugs Fixed

  • When using connection pooling, a connection returned to the pool was not reset, so session variables retained their values. Now these variables are reset by re-authenticating the user when the connection is returned to the pool. To disable this behavior, pass a pool_reset_session argument to connect() when requesting a pooled connection:

    cnx = mysql.connector.connect(pool_reset_session=False,...)

    (Bug #18040042)

  • An incorrectly handled error in MySQLProtocol.parse_column_count() method could lead to a misreported error message. (Bug #17958420)

  • executemany() failed with INSERT INTO ... SELECT statements. (Bug #70529, Bug #17826833)

Download these Release Notes
PDF (US Ltr) - 136.7Kb
PDF (A4) - 136.0Kb
EPUB - 41.9Kb