Mysql 出现「Incorrect key file for table」处理方法
今天正在同步数据库,服务器突然 down 了下,出现了
SQLSTATE[HY000]: General error: 126 Incorrect key file for table './lebo/mac_art.MYI'; try to repair it
repair table tablename;
REPAIR TABLE tablename USE_FRM
把 tablename 换成表名就可以了来源 https://www.itread01.com/p/1208451.html
无特殊说明默认采用 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可。