Table XXX is marked as crashed and should be repaired问题

简介:

数据表出错了,查询数据获取不到了。

尝试一

重启mysql

service mysqld restart

没用,重启并没有把表修复掉

 

尝试二

check table vicidial_list;
repair table vicidial_list;

发现没有这个数据库,原因是没有用密码登陆

通过密码登陆之后,进入了数据库

成功!

问题解决!



本文转自TBHacker博客园博客,原文链接:http://www.cnblogs.com/jiqing9006/p/4991728.html,如需转载请自行联系原作者

相关文章
|
8月前
(145) Table ‘./addon_collect_wukong_spider‘ is marked as crashed and should be repaired解决思路
(145) Table ‘./addon_collect_wukong_spider‘ is marked as crashed and should be repaired解决思路
34 0
error: Your local changes to the following files would be overwritten by merge
error: Your local changes to the following files would be overwritten by merge
|
Java Go API
译|Don’t just check errors, handle them gracefully(二)
译|Don’t just check errors, handle them gracefully(二)
110 0
|
程序员 Go API
译|Don’t just check errors, handle them gracefully(一)
译|Don’t just check errors, handle them gracefully
92 0
使用parted创建大分区时 mkpart Warning: The resulting partition is not properly aligned for best performance.
fdisk不能创建大于2T的分区,创建大分区得用parted,我在用parted创建分区时遇到下面的警告提示
277 0