18
votes

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!

1
what was introduced in Python 3.6 that you need? - juanpa.arrivillaga
"Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." - jww
The question title of the OP seems clear to me. He is looking for a way to connect python 3.6 to the MySQL client when the installer only points to 3.4. This question is a good one and I also looking for this answer. - Yohan Obadia
currently up for 10 months, 8 upvotes, 25,347 views... obviously a popular question with a clear problem and answer... closed as off topic... the poster did not ask which was best--only asked for possibilities to solve a well described problem... some people with too many points need to get their heads out of there, it's an exit only orifice - me_
dev.mysql.com/downloads/connector/python Development releases -> download for 3.6 - Yan Khonski

1 Answers

19
votes

mysqlclient supports python3.6 officially.

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