mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication

解决方法:

 

SET old_passwords = 0;
UPDATE mysql.user SET Password = PASSWORD('testpass') WHERE User = 'testuser' limit 1;
SELECT LENGTH(Password) FROM mysql.user WHERE User = 'testuser';
FLUSH PRIVILEGES;

本文固定链接: http://blog.wsisp.net/548 | 网硕互联团队博客

该日志由 网硕互联 于2013年03月17日发表在 FAQ 分类下,
原创文章转载请注明: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication | 网硕互联团队博客

报歉!评论已关闭.