欢迎光临
我们一直在努力

Mysql 4.1 Windows 下升级问题-PHP教程,PHP应用

建站超值云服务器,限时71元/月

使用phpmyadmin时报错:

client does not support authentication protocol requested

by server; consider upgrading mysql client

官方的说法是

mysql 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients. …..

如果你升级mysql到4.1以上版本后遇到以上问题,请先确定你的mysql client 是4.1或者更高版本.(windows下有问题你就直接跳到下面看解决方法了,因为mysql 在windows是client和server一起装上了的)

请使用以下两种方法之一

其一:

mysql> set password for

-> some_user@some_host = old_password(newpwd);

其二:

mysql> update mysql.user set password = old_password(newpwd)

-> where host = some_host and user = some_user;

mysql> flush privileges;

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » Mysql 4.1 Windows 下升级问题-PHP教程,PHP应用
分享到: 更多 (0)

相关推荐

  • 暂无文章