itE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(68,68,68); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">使用國(guó)外空間,mysql總是鏈接超時(shí)。出現(xiàn):
ECSHOP info: Can't Connect MySQL Server(localhost:3306)!
若想把ecshop這句
ECSHOP info: Can't Connect MySQL Server(localhost:3306)!
換成“服務(wù)器繁忙,請(qǐng)刷新”
辦法:
找到include/cls_mysql.php 代碼
echo "<b>ECSHOP info</b>: $message <br /><br />";
//print('<a target="_blank">http://faq.comsenz.com/</a>');
}
else
{
echo "<b>MySQL server error report:";
print_r($this->error_message);
//echo "<br /><br /><a href='http://faq.comsenz.com/?type=mysql&dberrno=" . $this->error_message[3]['errno'] . "&dberror=" . urlencode($this->error_message[2]['error']) . "' target='_blank'>http://faq.comsenz.com/</a>";
改下ecshop info : 之后的message部分。
未經(jīng)允許不得轉(zhuǎn)載:445IT之家 » ECSHOP info: Cant Connect MySQL Server(localhost: