我的数据库里面好像是坏了,求救,看看有没有办法修复

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



MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(*) FROM `lehuo61`.`lehuo6_stats` WHERE access_time > 1301299200 ) [2] => Array ( [error] => Table '.\lehuo61\lehuo6_stats' is marked as crashed and should be repaired ) [3] => Array ( [errno] => 145 ) )


进入后台出现上面的东东
www.lehuo6.com必须打开两次才能可以

回答:
搞定了
http://bbs.ecshop.com/viewthread ... =%CA%FD%BE%DD%B1%ED
具体操作是在后台

在后台看了一下,有几个表显示Table is marked as crashed,修复了一下就好了,具体修复办法就是:REPAIR TABLE `表名`

SQL查询 里输入就可以了