备份mysql数据库提示marked as crashed and should be repaired when doing LOCK TABLES

来源:互联网 发布:h3c 绑定mac地址 编辑:程序博客网 时间:2024/06/05 09:18
登录进mysql

执行
mysql> check tables tb_loghard ;



mysql >
​repair tables tb_loghard ;​

再执行

​ mysqldump -h localhost -u 用户名 -p 数据库名 表名 >/root/文件名.sql​
0 0
原创粉丝点击