1:新建数据库和表 2:进入数据库中,分离表:alter table 表名 discard tablespace; 3:将搜受损的ibd文件拷到新建的表目录下,并修改表的id与frm对应的一致 vim test.ibd 转为2进制文件:%!xxd 修改后,保存退出:%!xxd -r 4:进入数据库中,开始快速导入:alter table 表名 import tablespace; 5:查询还原的表即可