mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file别人发过来的thinkphp3.1.2怎么,配置过后提示上面问题
网上查了修改密码就了,我执行下面代码后重启服务问题任在。缓存也清除
SET old_passwords = 0;
UPDATE mysql.user SET Password = PASSWORD('root') WHERE User = 'root';
SELECT LENGTH(Password) FROM mysql.user WHERE User = 'root';
FLUSH PRIVILEGES; 到底什么问题?有什么方法可以解决?
解决后立马解贴
网上查了修改密码就了,我执行下面代码后重启服务问题任在。缓存也清除
SET old_passwords = 0;
UPDATE mysql.user SET Password = PASSWORD('root') WHERE User = 'root';
SELECT LENGTH(Password) FROM mysql.user WHERE User = 'root';
FLUSH PRIVILEGES; 到底什么问题?有什么方法可以解决?
解决后立马解贴
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货