Table 'hd_online' is marked as crashed and should be repaired索引损坏
2016-02-15 19:02
561 查看
myisam 引擎表的索引损坏,解决方法
找到mysql的安装目录的/usr/local/mysql/bin/myisamchk工具,在命令行中输入:myisamchk -c -r /data/db/my/sc_blt/hd_online.MYI (表的路径)
然后myisamchk 工具会帮助你恢复数据表的索引。重新启动mysql,问题解决。
相关文章推荐
- LeetCode 217. Contains Duplicate 哈希
- 程序运行出现process launch failed: Security
- POJ 3250 Bad Hair Day 单调
- Leetcode(2) -Contains Duplicate
- LINUX wait 和 waitpid详解
- UVA253 Cube painting
- 安装epel以及遇到的问题:Cannot retrieve matalink for repository:epel.Please verify its path and try again
- 贪心 HDU 1789 Doing Homework again
- POJ 3216 Repairing Company(FLOYD+DAG最小路径覆盖)
- 五子棋AI算法第四篇-启发式搜索函数
- git push error: failed to push some refs to 'ssh://git@ip:8850/Out/Afuyigou.
- handler的obtainMessage
- 五子棋AI算法第三篇-Alpha Beta剪枝
- 《FAQ:OpenCV Haartraining》——使用OpenCV训练Haar like+Adaboost分类器的常见问题
- MFC中OnDraw与OnPaint的区别
- raid功能中spanning和striping模式有什么区别?
- 错误 clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 『HTML5实现人工智能』小游戏《井字棋》发布,据说IQ上200才能赢【算法&代码讲解+资源打包下载】
- Handler.obtainMessage()
- Ngaios HTTP WARNING: HTTP/1.1 403 Forbidden