码迷,mamicode.com
首页 > 其他好文 > 详细

Table '' is marked as crashed and should be repaired 解决方法

时间:2017-04-05 18:28:03      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:table   is   marked   

解决方法:


找到mysql的安装目录的bin/myisamchk工具,在命令行中输入:

myisamchk -c -r ../data/mysql/user.MYI


然后myisamchk 工具会帮助你恢复数据表的索引。重新启动mysql,问题解决。


本文出自 “尼古风锁丝愁过” 博客,请务必保留此出处http://smoke520.blog.51cto.com/9256117/1913003

Table '' is marked as crashed and should be repaired 解决方法

标签:table   is   marked   

原文地址:http://smoke520.blog.51cto.com/9256117/1913003

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!