首页 > 数据库技术 > 详细

mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication的解决方法

时间:2014-10-10 12:55:35      阅读:298      评论:0      收藏:0      [点我收藏+]
直接命令行操作没有问题,但是PHP连接就会报上面的错误。

SET old_passwords =0; USE mysql; UPDATE user SET password =PASSWORD(‘yourpassword‘) WHERE user=‘testuser‘ limit 1; SELECT LENGTH(password) FROM user WHERE user=‘root‘; FLUSH PRIVILEGES;

mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication的解决方法

原文:http://www.cnblogs.com/zhja/p/4015489.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!