https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
查找已经编译过后的包进行安装
解决步骤:
1.登录mysql,连接用户为root。
> mysql -u root -p
2.执行命令查看加密方式
> use mysql;
> select user,plugin from user where user='root';
3.执行命令修改加密方式
> alter user 'root'@'localhost' identified with
mysql_native_password by 'yourpassword'
4.属性权限使配置生效
> flush privileges
---------------------