Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":2606,"date":"2016-01-12T17:33:06","date_gmt":"2016-01-12T09:33:06","guid":{"rendered":"http:\/\/blog.unethost.com\/?p=2606"},"modified":"2016-01-12T17:33:06","modified_gmt":"2016-01-12T09:33:06","slug":"how_and_when_to_repair_a_mysql_database","status":"publish","type":"post","link":"https:\/\/blog.unethost.com\/how_and_when_to_repair_a_mysql_database\/","title":{"rendered":"\u5982\u4f55\u57f7\u884c\u8cc7\u6599\u5eab\u4fee\u5fa9\u529f\u80fd\uff0c\u53ca\u5176\u4f7f\u7528\u6642\u6a5f\u70ba\u4f55\uff1f"},"content":{"rendered":"
\"mysql_repairwp\"<\/h6>\n
\u5982\u679c\u700f\u89bd\u7db2\u7ad9\uff0c\u51fa\u73fe\u63d0\u793a\u662fmysql\u8cc7\u6599\u5eab\u7570\u5e38\uff0c
\n\u50cf\u662f\u95dc\u9375\u5b57\u70ba\uff1a\u00a0mysql Duplicate
\n\u8acb\u99ac\u4e0a\u53c3\u8003\u9019\u7bc7\u5167\u5bb9\u4f86\u9032\u884c\u8655\u7406\u3002<\/h6>\n

<\/p>\n

\u70ba\u4f55\u6703\u6709\u8cc7\u6599\u5eab\u640d\u6bc0\u7684\u554f\u984c\uff1f<\/span><\/h6>\n

php+mysql\u6240\u64b0\u5beb\u7a0b\u5f0f\uff0c\u6709\u6642\u7576\u8cc7\u6599\u88ab\u5927\u91cf\u5beb\u5165(\u6216\u662f\u653b\u64ca)\uff0c
\n\u6216\u662f\u8cc7\u6599\u5eab\u88ab\u7121\u6545\u4e2d\u65b7(\u4e0d\u662f\u900f\u904e\u6b63\u5e38\u8a9e\u6cd5restart,stop)\uff0c
\n\u53ef\u80fd\u6703\u51fa\u73fe\u8cc7\u6599\u5eab\u640d\u6bc0\u7684\u554f\u984c\u3002
\n\u700f\u89bd\u5230\u76f8\u95dc\u9801\u9762\u6642\uff0c\u5c31\u6703\u51fa\u73fe\u50cf\u4e0b\u5217\u5716\u7247\u7684\u72c0\u6cc1\u3002
\n\"msyql_repair01\"<\/p>\n

 <\/p>\n

\u4e00\u822c\u5982\u4f55\u4fee\u5fa9\u5462\uff1f<\/span><\/h6>\n

\u900f\u904ephpmyadmin\uff0c\u88e1\u9762\u5c31\u6709\u8457\u4fee\u5fa9(repair)\u529f\u80fd\uff0c
\n\u5be6\u5728\u76f8\u7576\u7684\u65b9\u4fbf\u3002<\/p>\n

\u4f46\u662fcpanel\u7ba1\u7406\u7684\u7db2\u7ad9\u7a7a\u9593\uff0c\u9019\u500b\u529f\u80fd\u5247\u88ab\u5d4c\u5230cpanel\u88e1\uff0c
\n\u5c31\u8981\u6539\u7528\u63a7\u5236\u53f0<\/a>\u5167\u7684\u529f\u80fd\u3002<\/p>\n

\u00a0\u5982\u4f55\u900f\u904ecpanel\u64cd\u4f5c\u4fee\u5fa9<\/span><\/h6>\n

1. cpanel > mysql\u8cc7\u6599\u5eab<\/span>
\n\"mysql_repair01\"<\/p>\n

2.\u00a0Modify Databases \u529f\u80fd\u4e2d<\/span><\/p>\n

a. \u9078\u53d6\u76f8\u5c0d\u61c9\u7684\u8cc7\u6599\u5eab\u540d\u7a31<\/span>
\n\u00a0 \u00a0 b. \u9ede\u9078\u4fee\u5fa9<\/span>
\n\"mysql_repair02\"<\/p>\n

3. \u7cfb\u7d71\u5c31\u6703\u5c07\u6709\u554f\u984c\u7684 db table \u4f5c\u81ea\u52d5\u4fee\u5fa9\uff0c
\n\u4e5f\u6709\u53ef\u80fd\u9700\u8981\u591a\u8dd1\u5e7e\u6b21\uff0c\u76f4\u5230\u90fd\u770b\u5230ok\u6700\u4f73\u3002<\/span><\/p>\n

\"mysql_repair03\"<\/p>\n

 <\/p>\n

\u9806\u5229\u7684\u8a71\uff0c\u9019\u6a23\u5c31\u53ef\u4ee5\u6062\u5fa9\u4e86\uff0c\u7576\u7136\u6211\u5011\u9084\u662f\u6709\u9047\u904e\u66f4\u7279\u6b8a\u7684\u72c0\u6cc1\uff0c
\n\u5f8c\u9762\u6709\u6a5f\u6703\u6703\u5728\u4ecb\u7d39\u4e00\u4e0b\u3002<\/p>\n

(\u672c\u7bc7\u6587\u7ae0\u7531unethost.com\u5ba2\u670d\u4eba\u54e1<\/a>-Michael\u5b8c\u6210)<\/strong><\/p>\n

\u8a3b\u518a\u7db2\u57df\u8acb\u9ede\u6211<\/a>\uff0c\u4ee5\u53ca\u7db2\u57df\u53d6\u540d\uff0c\u6240\u8981\u77e5\u9053\u7684\u4e8b<\/a>\u3002<\/span><\/strong><\/p>\n

\u6211\u5011\u63d0\u4f9b\u865b\u64ec\u4e3b\u6a5f\u8a66\u7528\uff0c\u4e03\u5929\u6eff\u610f\u4fdd\u8b49\uff0c
\n\u529f\u80fd\u5b8c\u6574\u4f7f\u7528\u4e0d\u53d7\u9650\u5236\uff0c\u6b61\u8fce
\u9ede\u6211<\/a>\u7533\u8acb\u3002<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

\u5982\u679c\u700f\u89bd\u7db2\u7ad9\uff0c\u51fa\u73fe\u63d0\u793a\u662fmysql\u8cc7\u6599\u5eab\u7570\u5e38\uff0c \u50cf\u662f\u95dc\u9375\u5b57\u70ba\uff1a\u00a0mysql Duplicate \u8acb\u99ac\u4e0a\u53c3\u8003\u9019\u7bc7 … \u95b1\u8b80\u5168\u6587 \u5982\u4f55\u57f7\u884c\u8cc7\u6599\u5eab\u4fee\u5fa9\u529f\u80fd\uff0c\u53ca\u5176\u4f7f\u7528\u6642\u6a5f\u70ba\u4f55\uff1f<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[151],"tags":[622,623,624,620,619,621,625],"_links":{"self":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/2606"}],"collection":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/comments?post=2606"}],"version-history":[{"count":6,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/2606\/revisions"}],"predecessor-version":[{"id":2666,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/2606\/revisions\/2666"}],"wp:attachment":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/media?parent=2606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/categories?post=2606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/tags?post=2606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}