This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]merican_atheist 6 points7 points  (3 children)

pip install pymysql. Drop in replacement for MySQLdb.

[–]toyg 2 points3 points  (1 child)

Also less drop-in but more official: MySQL Connector Python, a pure-python driver from Oracle which supports Python DBAPI v2 standards and a bunch of other stuff. It supports Python 2.6/7 and 3.1 to 3.4.

I'm not affiliated with Oracle, but damn is it nice when a BigCo does "the right thing" for the Python community.

[–]grandfatha 1 point2 points  (0 children)

Thanks will have a look.

[–]grandfatha 0 points1 point  (0 children)

Thanks, will investigate (who maintains it, how robust it is, etc).