News and announcements

MyConnPy 0.1.5 released; 0.1.4 removed

Written for MySQL Connector/Python by Geert JM Vanderkelen on 2010-05-27

Highlights:
o It was impossible to retrieve big result sets. (bug lp:551533 and lp:586003)
o Changing copyright from Sun to Oracle (also fixing silly typo)

Read more

MyConnPy 0.1.4-devel available

Written for MySQL Connector/Python by Geert JM Vanderkelen on 2010-05-21

Next development release 0.1.4 of MySQL Connector/Python is now available for download. This will be the last in the 0.1-series as we move on to 0.2. The aim is to release more often to get to v1.0. Hurray!

Highlights:
o Reading from network was broken for bigger packages.
o Reimplementing protocol.MySQLProtocol marking simpler and easier to maintain.
o It is now possible to send multiple statements to MySQL using MySQLCursor.execute(). The results are accessible by calling the method next_resultset().
o MySQLCursor.callproc() will now store all result sets as a MySQLCursorBuffered. They are accessible using the next_proc_resultset() method. The result of the stored procedure is returned by callproc() itself as defined by PEP249.
o MySQL DATETIME conversion to Python datetime.datetime is now much faster.
o Some overall performance improvements.
o Copyright notice changes.

Read more

MyConnPy 0.1.3-devel available

Written for MySQL Connector/Python by Geert JM Vanderkelen on 2010-01-28

A memory leak got fixed when closing cursors; warnings can be raised as exceptions; client flags are respected; and some fixes around data type conversion.

Read more

MyConnPy 0.1.2-devel available: fixing charset/unicode

Written for MySQL Connector/Python by Geert JM Vanderkelen on 2009-12-23

MySQL Connector/Python 0.1.2-devel is a quick follow-up release for 0.1.1 fixing a few problems around character sets and unicode.

Release notes:
o Fixing unicode usage for both Python 2.4+ and 3.1
  * Setting 'use_unicode' at connection time is now working.
  * conversion.py: removing regular expression for quoting backslashes.
  * Adding test case for bug lp:499410

  Py3k specific:
  * Strings from MySQL are decoded to the given character when use_unicode
    is false
  * The statement is encoded just before sending it to the MySQL server.
    Internally, all is done in unicode.
  * In conversion.py: removing _unicode_to_mysql, adding _bytes_to_mysql
  * MySQLCursor.__unicode__ is obsolete and replaced with __str__
  * Removing tests for which the methods were deleted.

o Fix setting character set at connection

  * mysql.connector.Connect(charset='latin1') now works as expected
  * Default character set is (still) UTF-8.
  * SET NAMES is only used when changing character set after connecting.
    Use MySQL.set_charset(charsetname) to change.
  * Test case added for bug report; fixing test case in test_protocol.py
    to reflect the new default character set 'utf-8'.

Read more

MyConnPy 0.1.1 brings Python v3.1 support

Written for MySQL Connector/Python by Geert JM Vanderkelen on 2009-12-21

Now available: MySQL Connectory/Python 0.1.1, the second development release, bringing Python v3.1 support.

Read more

1115 of 19 results