修复InnoDB类型数据表
a.通过show slave status查看结果,不是以下这种状况.
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
并且提示表损坏,查看表类型为InnoDB,
或者发现mysql频繁重启,错误日志如下:
060521 1:00:01 InnoDB error:
Cannot find table finance/category_quote from the internal \
data dictionary of InnoDB though the .frm file for the table \
exists. Maybe you have deleted and recreated InnoDB data \
files but have forgotten to delete the corresponding .frm \
files of InnoDB tables, or you have moved .frm files to another \
database? Look from section 15.1 of
how you can resolve the problem.
b.参考CVS中恢复innoDB表的方法进行修复:
CVS:ldf-sys/document/normal/security/Plan/recovery_innoDB.txt
阅读(1071) | 评论(0) | 转发(0) |