报错情况:
原因:
mysql-connector-python版本不对,我们的mysql版本为sql8.0需要下载mysql-connector-python==8.0....的库
方法:
pip install mysql-connector-python==8.1.0
即可
报错情况:
原因:
mysql-connector-python版本不对,我们的mysql版本为sql8.0需要下载mysql-connector-python==8.0....的库
方法:
pip install mysql-connector-python==8.1.0
即可