{"id":6953,"date":"2020-04-29T08:11:23","date_gmt":"2020-04-29T00:11:23","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6953"},"modified":"2020-04-29T08:11:24","modified_gmt":"2020-04-29T00:11:24","slug":"mysqlcheck","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mysqlcheck","title":{"rendered":"mysqlcheck\u547d\u4ee4 – \u68c0\u67e5\u548c\u4fee\u590dMyISAM\u8868"},"content":{"rendered":"\n

\u4f7f\u7528mysqlcheck\u547d\u4ee4\u53ef\u4ee5\u68c0\u67e5\u548c\u4fee\u590dMyISAM\u8868\u3002\u5b83\u53ef\u4ee5\u4f18\u5316\u548c\u5206\u6790\u8868\u3002mysqlcheck\u7684\u529f\u80fd\u7c7b\u4f3cmyisamchk\uff0c\u4f46\u5176\u5de5\u4f5c\u4e0d\u540c\u3002\u4e3b\u8981\u5dee\u522b\u662f\u5f53mysql\u670d\u52a1\u5668\u5728\u8fd0\u884c\u65f6\u5fc5\u987b\u4f7f\u7528mysqlcheck\uff0c\u800cmyisamchk\u5e94\u7528\u4e8e\u670d\u52a1\u5668\u6ca1\u6709\u8fd0\u884c\u65f6\u3002\u4f7f\u7528mysqlcheck\u7684\u597d\u5904\u662f\u4e0d\u9700\u8981\u505c\u6b62\u670d\u52a1\u5668\u6765\u68c0\u67e5\u6216\u4fee\u590d\u8868\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mysqlcheck [\u53c2\u6570] [\u6570\u636e\u5e93] [\u8868]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-B<\/td>\u5904\u7406\u6570\u636e\u5e93\u4e2d\u547d\u540d\u7684\u6240\u6709\u8868<\/td><\/tr>
-a<\/td>\u5206\u6790\u8868<\/td><\/tr>
-A<\/td>\u68c0\u67e5\u6240\u6709\u6570\u636e\u5e93<\/td><\/tr>
-c<\/td>\u68c0\u67e5\u8868\u7684\u9519\u8bef<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u68c0\u67e5\u548c\u4fee\u590d\u6570\u636e\u5e93www\u4e2d\u7684\u6240\u6709\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mysqlcheck www<\/pre>\n\n\n\n

\u68c0\u67e5\u548c\u4fee\u590d\u6570\u636e\u5e93www\u4e2d\u7684table1\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mysqlcheck www table1<\/pre>\n\n\n\n

\u5bf9mysql\u5e93\u8fdb\u884cmysqlcheck\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

mysqlcheck mysql -uroot -p<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528mysqlcheck\u547d\u4ee4\u53ef\u4ee5\u68c0\u67e5\u548c\u4fee\u590dMyISAM\u8868\u3002\u5b83\u53ef\u4ee5\u4f18\u5316\u548c\u5206\u6790\u8868\u3002mysqlcheck\u7684\u529f\u80fd\u7c7b\u4f3cm […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6953"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6953"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6953\/revisions"}],"predecessor-version":[{"id":7165,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6953\/revisions\/7165"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}