https://dev.mysql.com/downloads/connector/python/
到上述地址下载对应系统的驱动程序安装即可。
安装mysqlclient方法如下:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
pip install mysqlclient?1.3.13?cp36?cp36m?win_amd64.whl
原文地址:https://www.cnblogs.com/OnlyDreams/p/9473904.html
时间: 2024-11-08 23:37:33