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