新聞中心
Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old ...

創(chuàng)新互聯(lián)建站于2013年成立,先為臨川等服務(wù)建站,臨川等地企業(yè),進(jìn)行企業(yè)商務(wù)咨詢服務(wù)。為臨川企業(yè)網(wǎng)站制作PC+手機(jī)+微官網(wǎng)三網(wǎng)同步一站式服務(wù)解決您的所有建站問(wèn)題。
有些程序在安裝時(shí),出現(xiàn)如下錯(cuò)誤:
Warning: mysql_connect(): 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 in K:\WEB_2013\www.aerchi.com\***\***.php
這個(gè)問(wèn)題主要就是因?yàn)閿?shù)據(jù)庫(kù)的登陸密碼編碼問(wèn)題,將密碼設(shè)置成41位,即可。
進(jìn)入phpmyadmin,點(diǎn)擊SQL。輸入以下兩條命令,然后執(zhí)行即可。
- SET SESSION old_passwords = FALSE;
- SET PASSWORD = PASSWORD('your password');
復(fù)制代碼
your password??替換為你自己的密碼。
網(wǎng)頁(yè)題目:MySQL4.1+usingtheold怎么解決?
分享網(wǎng)址:http://m.fisionsoft.com.cn/article/dpoiojc.html


咨詢
建站咨詢
