19
2014
05

Mysql #1251 错误的解决方案

连接出错信息:
#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
解决方法:
mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('密码') WHERE Host = 'localhost(主机名)或IP' AND User = '数据库用户名'; 
mysql> FLUSH PRIVILEGES;

« 上一篇 下一篇 »