Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mysqldb on python 2.6+ (win32)

Tags:

python

mysql

I am currently using python 2.6 and I would like to use the win32 mysqldb module. Unfortunately it seems it needs the 2.5 version of Python. Is there any way to get rid of this mismatch in the version numbers and install mysqldb with python 2.6?

like image 567
pierroz Avatar asked Mar 26 '09 13:03

pierroz


People also ask

What is Python MySQLdb package?

MySQLdb is an interface for connecting to a MySQL database server from Python. It implements the Python Database API v2. 0 and is built on top of the MySQL C API. Packages to Install. mysql-connector-python mysql-python.


1 Answers

There are versions of mysqldb for python 2.6, they're just not available on the official site. It took me a while (and unfortunately I lost the link) but you can search google and find people who have compiled and released 2.6 versions of mysqldb for windows x64 and x32.

EDIT:

http://sourceforge.net/forum/forum.php?thread_id=3108914&forum_id=70460

http://sourceforge.net/forum/forum.php?thread_id=2316047&forum_id=70460

That fourm has a link to versions of mysqldb for Python 2.6

like image 11
Daniel Delaney Avatar answered Oct 07 '22 17:10

Daniel Delaney