求助,网站打开后显示MySQL server error report:Array ( [0]

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

RT,打开网站显示MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `sq_xzzk`.`sq_goods` AS g GROUP BY cat_id ) [2] => Array ( [error] => Table '.\sq_xzzk\sq_goods' is marked as crashed and should be repaired ) [3] => Array ( [errno] => 145 ) )
是什么原因啊 怎么修复呀

在线等

回答:
1# swaidy






自己顶

数据库sq_xzzk`的`sq_goods表中出错,检查一下该表,看是否缺少一个字段名称。

数据表错误,我的也出这个问题了,似乎不好解决的说

sq_goods'表摔坏 修复一下