pytharm使用代码连接数据库报错提示Client does not support authentication protocol requested by server
@pytharm使用代码连接数据库报错提示
Client does not support authentication protocol requested by server; consider upgrading MySQL client
数据库密码加密方式的问题,需修改适应pycharm
1)ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘password’ PASSWORD EXPIRE NEVER
2)ALTER USER ‘root’@‘localho
原创
2020-12-10 17:24:14 ·
131 阅读 ·
0 评论