Table 'hd_online' is marked as crashed and should be repaired索引损坏
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Table 'hd_online' is marked as crashed and should be repaired索引损坏相关的知识,希望对你有一定的参考价值。
myisam 引擎表的索引损坏,解决方法
找到mysql的安装目录的/usr/local/mysql/bin/myisamchk工具,在命令行中输入:
myisamchk -c -r /data/db/my/sc_blt/hd_online.MYI (表的路径)
然后myisamchk 工具会帮助你恢复数据表的索引。重新启动mysql,问题解决。
以上是关于Table 'hd_online' is marked as crashed and should be repaired索引损坏的主要内容,如果未能解决你的问题,请参考以下文章
#1146 - Table 'phpmyadmin.pma__table_uiprefs' doesn't exist
CREATE UNIQUE INDEX 终止,因为发现对象名称 'dbo.table1' 和索引名称 'PK_table1' 有重复的键
Table 'performance_schema.session_status' doesn't exist和Native table 'performance_sc
Bug? #1146 - Table 'xxx.xxxxx' doesn't exist
ALTER TABLE SWITCH' statement failed. The table x' is partitioned while index 'x' is