Web lists-archives.com

MySQL Connector/Python 2.1.2 Beta has been released

Dear MySQL users,

MySQL Connector/Python 2.1.2-Beta is a Beta version of 2.1 release
series of the pure Python database driver for MySQL. It is intended
to introduce users to the new features.

This release is not feature complete but it should be stable
enough for users to understand the new features and how we
expect them to work.

As is the case with all non-GA releases, it should not be used
in any production environment.

MySQL Connector/Python version 2.1.2-Beta is compatible with MySQL
Server versions 5.5 and greater. Python 2.6 and greater as well as
Python 3.3 and greater are supported. Python 2.4, 2.5 and 3.1, 3.2
are not supported.

MySQL Connector/Python 2.1.2-Beta is available for download from:

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


Changes in MySQL Connector/Python 2.1.2 (2015-04-30)

Functionality Added or Changed

  * Previously, connections from Connector/Python to Fabric
    were always made using the XML-RPC protocol. It is now
    possible to connect using the MySQL client/server
    protocol. To specify the protocol, use the protocol value
    in the the fabric dictionary argument for the connect()
    method. Permitted protocol values are xmlrpc (the
    default) and mysql. With mysql, the default port becomes
    32275, although that can be changed with an explicit port
    value. For more information, see Requesting a Fabric

Bugs Fixed

  * Connector/Python could raise an AttributeError exception
    for Fabric connections with MySQL Utiliies 1.5.4 or
    1.6.1. (Bug #20834643)

  * For connections that use the C Extension, an error
    occurred for attempts to create a cursor with
    buffered=True. (Bug #20811802)

  * The Connector/Python version checker for MySQL did not
    handle nonnumeric suffixes. During the build process, if
    the --with-mysql-api option was given, the check failed
    for installed versions of MySQL such as 5.7.6-m16. (Bug

  * The setup.py install command did not retain the value
    provided by the --install-lib option. (Bug #20217174)

  * Encoding failure could occur for prepared cursors with
    UTF-8 statement parameters. (Bug #75542, Bug #20407036)

  * Values of the SET data type were not translated correctly
    if empty. (Bug #75402, Bug #20301989)

  * HASH sharding for Fabric failed. (Bug #75287, Bug

  * Queries that produced a large result could result in an
    IndexError: bytearray index out of range exception. (Bug
    #74933, Bug #20462427)

  * The Django backend was creating excessive connections
    (immediately when each DatabaseWrapper object was created
    rather than waiting until the object actually needed the
    connection.) (Bug #74696, Bug #19972427)

  * Error messages containing non-ASCII characters caused an
    exception to be raised. (Bug #74345, Bug #19803702)

  * The Django backend sometimes failed to properly convert
    SafeText objects, which then appeared in queries. (Bug
    #74336, Bug #20106629)

  * When using the callproc() cursor method, warnings
    generated by statements executed within the procedure or
    generated by the procedure itself were not available to
    the client. (Bug #74252, Bug #19777815)

  * Connection pooling did not work when using MySQL Fabric.
    (Bug #73445, Bug #19331658)

The source distribution includes the manual in various formats under
the docs/ folder.

Reporting Bugs
We welcome and appreciate your feedback and bug reports:

Enjoy !

On Behalf of the MySQL RE team at Oracle
Hery Ramilison

MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql