windows安装mysql connector/python
1、打开命令行窗口CMD

2、命令行窗口查看python版本

3、命令行窗口输入pip install mysql-connector

4、安装最新版本mysql-connector如果报错命令行窗口输入pip install mysql-connector==2.1.6指定安装版本

5、安装如果依旧报错命令行窗口输入pip install mysql-connector==2.1.6 -i https://pypi.tuna.tsinghua.edu.cn/simple加上镜像地址

6、验证是否安装成功
