Connect MySQL with Python 3.6

no0by5 picture no0by5 · Feb 28, 2017 · Viewed 62.1k times · Source

I'm looking for a library to connect to MySQL with Python 3.6. All libraries I found did only work with older versions of Python. Sadly I can't change to an older Python version because i need some functions, which are introduced in Python 3.6.

I am programming on a raspberry pi3, but I don't think this should change anything.

Thanks for any help!

Answer

Beomi picture Beomi · Feb 28, 2017

mysqlclient supports python3.6 officially.

https://pypi.python.org/pypi/mysqlclient