We’re also interested in hearing your feedback for future enhancements. Let us know how you’re using the connector too, especially if you are using it with Django, SQLAlchemy and similar Python technologies.
A few things have changed since the last development releases and we hope the manual shipping with the Connector/Python distribution (and also available online soon) will help you get up to speed.
Here are a few important changes that might be incompatible with current scripts using the now obsolete development releases v0.3.2 and earlier:
- MySQLCursor.execute() returns None. When multiple statements are send, it will return a generator object.
- MySQLConnection.ping() raises and exception. The is_connected() method will return True or False.
- The following methods of MySQLConnection changed: set_charset() replaced by set_charset_collation(); unset_client_flag() and set_client_flag() are removed, use set_client_flags() instead.
There have been quite a few changes and bug fixes. I recommend checking the ChangeLog file in the distribution of MySQL Connector/Python, and, once available, also the change log in the MySQL manual.
You can download Connector/Python 1.0.5-beta at:
If you’d like to ask questions or seek advice in using the connector, check out the following MySQL forum: