Table '.gtseventdata#P#p0' is marked as crashed and last (automatic?) repair failed
Posted 莫相离、N
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Table '.gtseventdata#P#p0' is marked as crashed and last (automatic?) repair failed相关的知识,希望对你有一定的参考价值。
修复数据表操
mysql数据表出现问题,提示:
Error: Table ‘./db_name/table_name‘ is marked as crashed and last (automatic?) repair failed
修复数据表操作:
1、service mysqld stop;
2、cd /var/lib/mysql/db_name/
3、myisamchk -r tablename.MYI (修复单张数据表)
myisamchk -r *.MYI (修复所有数据表)
注意:操作第三步前一定要把mysql服务停掉。
4. mysqlcheck -o -r 数据库名称 -p
以上是关于Table '.gtseventdata#P#p0' is marked as crashed and last (automatic?) repair failed的主要内容,如果未能解决你的问题,请参考以下文章
AttributeError:'Spi der'对象没有属性'table'
CREATE UNIQUE INDEX 终止,因为发现对象名称 'dbo.table1' 和索引名称 'PK_table1' 有重复的键
Table 'performance_schema.session_status' doesn't exist和Native table 'performance_sc