首页 > 代码库 > Table '.\gts\eventdata#P#p0' is marked as crashed and last (automatic?) repair failed
Table '.\gts\eventdata#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 '.\gts\eventdata#P#p0' is marked as crashed and last (automatic?) repair failed
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。