0

错误号1251 :
Client does not support authentication protocol requested by server; consider upgrading MySQL client
导致安装无法继续。这是因为mysql4.1以后的版本中用户验证方式与以前不同,php自带的老的client已经不适用了。

================================================================
此问题的解决办法:
确认MYSQL服务已启动;
然后:
开始->程序->MYSQL->MYSQL server 4.1->MySQL Command Line Client,在出来的CMD框内:
Enter passwod:xxxxxxx     //(此处的XXX为输入现在MYSQL的密码)
mysql>use mysql;     //一个字不变地输入,包括 ';' 分号,下同
mysql>update mysql.user set password=old_password('现在MYSQL的密码') where host='localhost' and user='现在MYSQL的用户名';
mysql> flush privileges;

输入的时候注意引号和分号。看仔细。然后去服务里把MYSQL停一次,再启动就OK了。

Tags: , , , , | 分类:电脑网络 | 来源:本站原创 | 引用(0)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]