Projects / MySQL Connector/Python

MySQL Connector/Python

MySQL Connector/Python implements the MySQL client/server protocol in pure Python. There is no need to compile or install any library or MySQL software. It supports Python v2.4 and greater, including Python v3.2.

Operating Systems

Recent releases

  •  28 Aug 2012 09:52

    Release Notes: This release added support for time values with a fractional seconds part, refactored the connection and protocol modules and created a new network module, added a MySQLConnection.reconnect() function, added descriptive error codes for both client and server errors, fixed various bugs, and more.

    •  07 Jan 2011 13:22

      Release Notes: This release adds back support for Python v2.4, handles big packets, and supports compression and SSL.

      •  13 Oct 2010 13:03

        Release Notes: Insert statements take advantage of multi-row syntax. A raw-cursor has been introduced, which fetches results without converting to Python types. The unit tests use their own bootstrapped MySQL server. Source code has been reorganized with a clear split of Python v2 and v3 code.

        •  27 May 2010 09:53

          Release Notes: A critical fix for fetching big result sets.

          •  21 May 2010 08:17

            Release Notes: Multiple statements are now supported, as well as multiple resultsets. An issue with getting big packets from MySQL was fixed. Overall performance improvements were made.

            Recent comments

            22 Dec 2009 08:26 agapow

            Excellent - pure Python and it "just works".

            29 Nov 2009 17:54 davidgoadby

            A good start to a problem that has bugging me for quite a while. The other MySQL solutions all seem to be variable in options and support. At least with pure Python we can have some control. ;-)


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.