程序执行的过程中,出现   Table '.xxxx' is marked as crashed and should be repaired 错误,上网查了一下,原来是表遭到损坏所致,具体修复办法如下:

假设遭到损坏的表是数据库abc中的demo.

1、登录到数据库

2、use abc

3、check table demo;

4、一般会列出错误,那么就repair table demo;

5、一般结果就会显示OK,如果不放心,可以再次check table demo;

经过这几个步骤,我的表就被修复好了。

相关文章:

  • 2021-06-22
  • 2021-11-03
  • 2022-02-02
  • 2021-05-28
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
猜你喜欢
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案