页面报错,数据库表优化时发现表存在问题

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

myecs_sessi**HEAP182253.16 KBIgnoreN/AIgnore
myecs_sessi**_dataMyISAM21.53 KBIgnoreN/AIgnore
myecs_shippingMyISAM40.61 KB0N/AOK
myecs_shipping_areaMyISAM93.61 KB0N/AOK
myecs_shop_configMyISAM2009.79 KB0N/AOK
myecs_snatch_logMyISAM00.00 KB0N/AOK
myecs_stats0.00 KBN/ATable is marked as crashed

就发现三个表出问题了

页面报错信息:MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(*) FROM `23book`.`myecs_stats` WHERE access_time > 1300435200 ) [2] => Array ( [error] => Can't open file: 'myecs_stats.MYI'. (errno: 145) ) [3] => Array ( [errno] => 1016 ) )


请问该怎么解决:可以连接到数据库,给这三个表更改好吗?

回答:
修复下数据库