I am using ActiveState Python 3 on Windows and wanted to connect to my MySQL database.
I heard that mysqldb
was the module to use.
I can't find mysqldb
for Python 3.
Is there a repository available where the binaries exist for mysqldb
?
How can I connect to MySQL in Python 3 on Windows?
There are currently a few options for using Python 3 with mysql:
https://pypi.python.org/pypi/mysql-connector-python
https://pypi.python.org/pypi/pymysql
MySQLdb
, after calling pymysql.install_as_MySQLdb()
https://pypi.python.org/pypi/cymysql
https://pypi.python.org/pypi/mysqlclient
python-mysqldb
andpython3-mysqldb
packages.benchmarks here: https://github.com/methane/mysql-driver-benchmarks