MySQL Forums
Forum List  »  Announcements

MySQL Connector/Python 1.1.5 has been released
Posted by: Jocelyn Ramilison
Date: January 31, 2014 04:01PM

Dear MySQL users,

MySQL Connector/Python 1.1.5 is a new version of the pure Python
database driver for MySQL.

MySQL Connector/Python version 1.1 is compatible with MySQL Server
versions 5.5 and greater, but should work with earlier versions
greater than 4.1. Python 2.6 and greater as well as Python 3.1 and
greater are supported. Python 2.4 and 2.5 are not supported.

MySQL Connector/Python 1.1.5 is available for download from

http://dev.mysql.com/downloads/connector/python/#downloads

The ChangeLog file included in the distribution contains a brief summary
of changes in MySQL Connector/Python 1.1. For a more complete list of
changes, see below or online at:

http://dev.mysql.com/doc/relnotes/connector-python/en/

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
    (http://dev.mysql.com/doc/refman/5.6/en/commit.html). 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)

Documentation
------------------------

The manual of MySQL Connector/Python is available online here:

 http://dev.mysql.com/doc/connector-python/en/index.html

It is also available for download in various formats here:

 http://dev.mysql.com/doc/index-connectors.html

Reporting Bugs
---------------------

We welcome and appreciate your feedback and bug reports:

http://bugs.mysql.com/

On Behalf of the MySQL RE team at Oracle,
Hery Ramilison

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Connector/Python 1.1.5 has been released
2747
January 31, 2014 04:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.