解决Mysql "is marked as crashed and should be repaired"的故障
2015-11-03 09:00
721 查看
在查看数据库的出错日志时,看到以下错误信息
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_members' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_members'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_members' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_members'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_members' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_members'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
解决方法:
[root@AY1309181833303768f9Z mould_2012]# myisamchk -c -r web_members.MYI
- recovering (with sort) MyISAM-table 'web_members.MYI'
Data records: 18126
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
[root@AY1309181833303768f9Z mould_2012]# myisamchk -c -r web_products.MYI
- recovering (with sort) MyISAM-table 'web_products.MYI'
Data records: 15213
- Fixing index 1
本文出自 “云人生” 博客,请务必保留此出处http://ovcer.blog.51cto.com/1145188/1709018
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_members' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_members'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_members' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_members'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_members' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_members'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
151103 8:43:33 [ERROR] /alidata/server/mysql/libexec/mysqld: Table './mould_2012/web_products' is marked as crashed and should be repaired
151103 8:43:33 [Warning] Checking table: './mould_2012/web_products'
解决方法:
[root@AY1309181833303768f9Z mould_2012]# myisamchk -c -r web_members.MYI
- recovering (with sort) MyISAM-table 'web_members.MYI'
Data records: 18126
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
[root@AY1309181833303768f9Z mould_2012]# myisamchk -c -r web_products.MYI
- recovering (with sort) MyISAM-table 'web_products.MYI'
Data records: 15213
- Fixing index 1
本文出自 “云人生” 博客,请务必保留此出处http://ovcer.blog.51cto.com/1145188/1709018
相关文章推荐
- 安装mysql 5.7.9绿色版遇到的问题记录
- MySQL存储过程详解 mysql 存储过程
- Mysql命令大全(详细篇)
- 初探mysql
- MySQL 事务的隔离级别与锁
- mysqlbinlog 命令
- mysqldump 常用参数
- mysql show status 详解
- mysql 学习记录(二十)--Mysql Server参数调整
- mysql远程设置
- MySQL 5.6.26安装mysql-5.6.26-win64.zip绿色版
- mysql xtrabackup备份恢复
- 修改查看MySQL编码格式【转载】
- 查看和修改mysql编码方式
- mysqli扩展库应用---程序范例
- mysql数据格式问题
- Mysql表的各项操作实例
- mysql截取字符串
- mysql配置感悟
- 【数据库】MySQL的安装与简单使用