首页 > 网站 > 建站经验 > 正文

改掉ecshop这句“ECSHOP info: Can't Connect MySQL

2024-04-25 20:42:01
字体:
来源:转载
供稿:网友

使用国外空间,mysql总是链接超时。出现:ECSHOP info: Can't Connect MySQL Server(localhost:3306)!

若想把ecshop这句

ECSHOP info: Can't Connect MySQL Server(localhost:3306)!

换成“服务器繁忙,请刷新”

办法:

找到include/cls_mysql.php 代码

echo "<b>ECSHOP info</b>: $message/n/n<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部分。

希望本文章对大家程序有所帮忙

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表