0
Database query failed. Error received from database was #144: Table 'dbname.mantis_bug_file_table' is marked as crashed and last (automatic?) repair failed for the query: SELECT bug_id, COUNT(bug_id) AS attachments
FROM mantis_bug_file_table
GROUP BY bug_id.

如何避免上述问题。修复表后,我多次收到此错误。如果我在加载页面后修复表,它会显示“#2013 - 在查询期间丢失与 MySQL 服务器的连接”。

谢谢。

4

1 回答 1

1

首先停止 MySQL 进程。转到您的数据文件夹并尝试运行myisamchk -r <table_name>。如果它不起作用,请尝试myisamchk -r -v -f <table_name>.

于 2013-03-14T07:12:17.317 回答