mysql中出现新旧版本密码不统一的解决方法

发布时间:2019-10-30编辑:脚本学堂
在使用mysql新版时出现:Client does not support authentication protocol requested by server; consider upgrading MySQL client 。

在使用mysql新版时出现:Client does not support authentication protocol requested by server; consider upgrading MySQL client 。
解决办法:
参考例子----
SET PASSWORD FOR 用户名@localhost = OLD_PASSWORD('密码');