日期:2014-05-16  浏览次数:20410 次

mysql:Table './xdb/auditlog' is marked as crashed and should be repaired

在mysql中遇到这个问题:Table './xdb/auditlog' is marked as crashed and should be repaired:

解决方法:

mysql> repair table xdb.auditlog;
+-------------------+--------+----------+----------+
| Table             | Op     | Msg_type | Msg_text |
+-------------------+--------+----------+----------+
| xdb.auditlog| repair | status   | OK       |
+-------------------+--------+----------+----------+