Geert JM Vanderkelen

MySQL Connector/Python v1.1.4 GA

MySQL Connector/Python v1.1.4 GA

It has been a busy week for the Pythonic MySQL Team at Oracle: MySQL Utilities 1.3.6 and a brand new Utilities 1.4.1 Alpha has been release which includes Fabric. Yes, and of course, the one binding them all: Connector/Python v1.1.4 has been released as GA (General Available). Check out the Change History if you want to keep up with what is being added and changed.

New features found in v1.1:

  • Important: Connector/Python will not work with Python v2.4 or v2.5. Yes, I consider this a feature.
  • Connector/Python comes with it’s own database backend for Django v1.4 and v1.5. It supports Python v3 and also support microsecond precision when using MySQL 5.6 and later.
  • MySQL Prepared Statements are now supported.
  • Connection Pooling is now available baked into Connector/Python.
  • Start transactions using the MySQLConnection start_transaction() method and find out whether the session has a transaction on going using the in_transaction property.

Some useful links:

6 thoughts on “MySQL Connector/Python v1.1.4 GA

  1. Chris Streeter

    I was wondering if you guys are going to update the version that can be installed through PyPI? That is pretty much the standard way to install packages these days for Python, and not having an up-to-date installable version seems like an oversight?

    1. Geert Vanderkelen Post author

      @Chris: Yes, of course. There was somehow a problem logging in yesterday, but seems to somehow work now. I added Connector/Python v1.1.4 while keeping v1.0.12 also available for the folks still on Python v2.4/v2.5.

      Note that I’m very concerned about a very weird message when running pip:

      “You are installing an externally hosted file. Future versions of pip will default to disallowing externally hosted files.
      You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.”

      The fact that files are more secure when hosted at pypi is to me False (yes, with a big F :)),

Leave a Reply

Your email address will not be published. Required fields are marked *

8 + 2 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>