Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are my options (if any) for MySQL with Python 3?

Tags:

python

mysql

I recently starting playing around with the new features of Python 3.1 and porting one of my 2.6 apps. I was surprised to find that MySQLdb does not yet support any of the 3.x versions of Python. My app uses MySQL extensively, so, as you can imagine, I didn't get too far!

What are my options (if any) for working with MySQL and Python 3.1? I've been out of the Python 3k loop, but cursory search did not yield any evidence of a release date for 3.1 support in MySQLdb or any other alternatives.

like image 906
jonstjohn Avatar asked Dec 05 '09 19:12

jonstjohn


1 Answers

mypysql doesn't follow the Python DB API standard, but does support Mysql and Python 3.

like image 79
Alex Martelli Avatar answered Nov 14 '22 21:11

Alex Martelli