FLUSH
PRIVILEGES;
本周有客户提交
问题,
美国站群服务器
亚洲服务器,说他在
操作数据库的时候会
报错,
报错如下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,这个
问题是因为
服务器上的
数据库版本与客户的
数据库文件版本不一致导致的,需要使用命令重置下密码就可以了。重置密码的命令如下UPDATE
mysql.user SET password=PASSWORD('11009380') WHERE User='a0106150047';
,
VPS