Incorrect key file for table './xx_db/xx_table.MYI'; try to repair it

Posted Fight With Me!!!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Incorrect key file for table './xx_db/xx_table.MYI'; try to repair it相关的知识,希望对你有一定的参考价值。

异常,坏表?

运行程序突然报异常:Incorrect key file for table ‘./xx_db/xx_table.MYI‘;try to repair it

 

解决办法:

可以先运行 CHECK TABLE表名检查下是否存在错误。

然后运行 REPAIR TABLE表名进行修复。

以上是关于Incorrect key file for table './xx_db/xx_table.MYI'; try to repair it的主要内容,如果未能解决你的问题,请参考以下文章

Incorrect key file for table ' '; try to repair it

Incorrect key file for table './xx_db/xx_table.MYI'; try to repair it

Incorrect key file for table '/tmp/#sql_882_0.MYI'; try to repair it

FFmpeg[36] - Could not write header for output file #0 (incorrect codec parameters ?): Invalid

FFmpeg[36] - Could not write header for output file #0 (incorrect codec parameters ?): Invalid

WPA: 4-Way Handshake failed - pre-shared key may be incorrect