请高手帮忙!急

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

首次访问我自己的网站出现这段错误代码?刷新就好了,每次都是请专家帮忙看看是啥问题?
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `book4eshop`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('123.112.68.208', '3', 'Internet Explorer 7.0', 'Windows XP', 'zh-cn', '北京市', '', '', '/index.php', '1259344798') ) [2] => Array ( [error] => Can't open file: 'ecs_stats.MYI'. (errno: 145) ) [3] => Array ( [errno] => 1016 ) )

回答:
修复下ecs_stats表

请问应该在哪里修复?

ecs_stats0.00 KBN/A Table is marked as crashed 我的数据表优化可以看到这些

用phpmyadmin管理你的数据库,执行下面SQL来修复

repair table ecs_stats