用 Python 3.6 连接 MySQL
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/42515854/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Connect MySQL with Python 3.6
提问by no0by5
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.
我正在寻找一个使用 Python 3.6 连接到 MySQL 的库。我发现的所有库都只适用于旧版本的 Python。遗憾的是,我无法更改为较旧的 Python 版本,因为我需要一些在 Python 3.6 中引入的函数。
I am programming on a raspberry pi3, but I don't think this should change anything.
我在树莓派 pi3 上编程,但我认为这不会改变任何事情。
Thanks for any help!
谢谢你的帮助!
回答by Beomi
mysqlclient
supports python3.6 officially.
mysqlclient
正式支持python3.6。