今天正在同步数据库,服务器突然 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