本周有客戶(hù)提交問(wèn)題,說(shuō)他在操作數(shù)據(jù)庫(kù)的時(shí)候會(huì)報(bào)錯(cuò),報(bào)錯(cuò)如下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,這個(gè)問(wèn)題是因?yàn)?a href='http://mszdt.com/' target='_blank' class="a_cont" title='服務(wù)器是指在互聯(lián)網(wǎng)數(shù)據(jù)中心中存放網(wǎng)站的服務(wù)器。主要用于網(wǎng)站的互聯(lián)網(wǎng)中的發(fā)布、應(yīng)用,是網(wǎng)絡(luò)應(yīng)用的基礎(chǔ)硬件設(shè)施。'>服務(wù)器上的數(shù)據(jù)庫(kù)版本與客戶(hù)的數(shù)據(jù)庫(kù)文件版本不一致導(dǎo)致的,需要使用命令重置下密碼就可以了。重置密碼的命令如下UPDATE
mysql.user SET password=PASSWORD('11009380') WHERE User='a0106150047';
FLUSH
PRIVILEGES;

河南億恩科技股份有限公司(mszdt.com)始創(chuàng)于2000年,專(zhuān)注服務(wù)器托管租用,是國(guó)家工信部認(rèn)定的綜合電信服務(wù)運(yùn)營(yíng)商。億恩為近五十萬(wàn)的用戶(hù)提供服務(wù)器托管、服務(wù)器租用、機(jī)柜租用、云服務(wù)器、網(wǎng)站建設(shè)、網(wǎng)站托管等網(wǎng)絡(luò)基礎(chǔ)服務(wù),另有網(wǎng)總管、名片俠網(wǎng)絡(luò)推廣服務(wù),使得客戶(hù)不斷的獲得更大的收益。
服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話(huà):
0371-60135900
虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話(huà):
0371-55621053
網(wǎng)絡(luò)版權(quán)侵權(quán)舉報(bào)電話(huà):
0371-60135995
服務(wù)熱線:
0371-60135900