今天把服务器的MYSQL从4升级到了5。用phpmyadmin连接时出现下面错误
Client does not support authentication protocol requested by server;
conside
在网上发现解答:
将mysql升级到5.x版本后,用客户端登录时出现了 Client does not support authentication protocol
requested by server错误,是由于新旧版本的mysql的密码算法不同引起,解决方法如下:登录mysql,输入如下命令即可。
mysql>SET PASSWORD FOR ‘admin‘@‘localhost‘ =
OLD_PASSWORD(‘newpassword‘);
这样就能解决这个问题了。
Client does not support authentication protocol requested by server;