mysql报错:Table 'ta_history' is marked as crashed and should be repa

Posted 休夸此地分天下

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql报错:Table 'ta_history' is marked as crashed and should be repa相关的知识,希望对你有一定的参考价值。

1、首先进入mysql命令台:

mysql -u root -p 回车  输入密码

2、查询所有的库

mysql> show databases; 

3、进入数据库“orcl”是库名

mysql> use orcl;

4、check table ta_history(ta_history--出现错误的表)用来检查出现问题的表的状态,出现错误就正常

5、然后用repair table ta_history

 

参考链接:https://www.cnblogs.com/yangzhili/p/11120098.html

以上是关于mysql报错:Table 'ta_history' is marked as crashed and should be repa的主要内容,如果未能解决你的问题,请参考以下文章

Table '.mysqlproc' is marked as crashed and should be repaired 报错

java 操作 mysql -报错 LockException: Failure obtaining db row lock: Table 'xxx' doesn't exis

mysql报错:Table 'ta_history' is marked as crashed and should be repa

mySQL: delete 语句报错 You can't specify target table 'student' for update in FROM clause(示例

mysql报错 1142 - SELECT command denied to user 'root_ssm'@'localhost' for table 'u

mysql uodate 报错 You can't specify target table '**' for update in FROM clause