As far as I know, nobody has ported the C extension module for mysql
to Python 3, but there are at least two pure-Python modules that work just fine with Python 3 (and also with PyPy, etc.):
- PyMySQL
- MySQL Connector/Python
A quick google for python3 mysql turns up a few more (as well as various pointers to these two projects, including previous SO questions that ask exactly the same thing).