本周有客戶提交問題,說他在操作數據庫的時候會報錯,報錯如下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';
FLUSH
PRIVILEGES;

河南億恩科技股份有限公司(www.laynepeng.cn)始創于2000年,專注服務器托管租用,是國家工信部認定的綜合電信服務運營商。億恩為近五十萬的用戶提供服務器托管、服務器租用、機柜租用、云服務器、網站建設、網站托管等網絡基礎服務,另有網總管、名片俠網絡推廣服務,使得客戶不斷的獲得更大的收益。
服務器/云主機 24小時售后服務電話:
0371-60135900
虛擬主機/智能建站 24小時售后服務電話:
0371-55621053
網絡版權侵權舉報電話:
0371-60135995
服務熱線:
0371-60135900