将MySQL与Python 3.6连接 [英] Connect MySQL with Python 3.6
本文介绍了将MySQL与Python 3.6连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一个使用Python 3.6连接到MySQL的库.我发现的所有库仅适用于旧版本的Python.可悲的是,我无法更改为旧版本的Python,因为我需要Python 3.6中引入的一些功能.
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.
我正在使用树莓派pi3进行编程,但是我认为这不会改变任何东西.
I am programming on a raspberry pi3, but I don't think this should change anything.
感谢您的帮助!
推荐答案
mysqlclient
正式支持python3.6.
mysqlclient
supports python3.6 officially.
https://pypi.python.org/pypi/mysqlclient
这篇关于将MySQL与Python 3.6连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文