一次性修复所有表 [英] Repair all tables in one go
本文介绍了一次性修复所有表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何一次性检查数据库中的所有表?
How to check all the tables in the database in one go?
而不是一个一个地为所有表键入查询check table ''tablename'';
.
Rather than typing the query check table ''tablename'';
for all the tables one by one.
有没有像check all
这样的简单命令?
Is there any simple command like check all
or anything like that?
推荐答案
从命令行可以使用:
mysqlcheck -A --auto-repair
http://dev.mysql.com/doc/refman/5.0/en/mysqlcheck.html
这篇关于一次性修复所有表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文