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

RSS Recent releases

  •  28 Aug 2012 15:48

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 23:08

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

  •  13 Oct 2010 15:04

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 12:37

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

  •  21 May 2010 09:44

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.

RSS Recent comments

22 Dec 2009 08:26 agapow Thumbs up

Excellent - pure Python and it "just works".

29 Nov 2009 17:54 Avatar davidgoadby Thumbs up

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 wireframes, mockup, and prototype tool for desktop, Web, and mobile applications.


Project Spotlight


A CalDAV Web client.