急急急,数据库错误,请求帮助

2016-07-07 15:33 来源:www.chinab4c.com 作者:ecshop专家

打开首页就是这个,不知怎么了,后台能用,操作什么都正常.就是前台这样,

用phpmyadmin管理数据库提示
phpMyAdmin - Error#2005 - Unknown MySQL server host 'sql105.byetcluster.com' (2)

打开首页就是这样

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT SUM(goods_number) AS number, SUM(goods_price * goods_number) AS amount FROM `b17_4681441_dfdf`.`ecs_cart` WHERE session_id = 'a212b2fd499440d3947767d30afd7ba9' AND rec_type = '0' ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT SUM(goods_number) AS number, SUM(goods_price * goods_number) AS amount FROM `b17_4681441_dfdf`.`ecs_cart` WHERE session_id = 'a212b2fd499440d3947767d30afd7ba9' AND rec_type = '0' ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `b17_4681441_dfdf`.`ecs_sessions` SET expiry = '1260978522', ip = '60.10.109.161', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:3:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;}' WHERE sesskey = 'a212b2fd499440d3947767d30afd7ba9' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )

回答:
现在好了,当闹鬼了

应该是数据库服务器的问题

http://bbs.ecshop.com/viewthread ... mp;extra=#pid396795
79
你可以看下