{"id":124,"date":"2015-02-15T22:27:11","date_gmt":"2015-02-15T22:27:11","guid":{"rendered":"https:\/\/avalon.land\/blog\/?p=124"},"modified":"2017-10-26T11:00:49","modified_gmt":"2017-10-26T11:00:49","slug":"mysql-fix-smartly","status":"publish","type":"post","link":"https:\/\/avalon.land\/blog\/it\/mysql-fix-smartly\/","title":{"rendered":"\u0420\u0435\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c MySQL \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e"},"content":{"rendered":"<p>\u0418\u043d\u043e\u0433\u0434\u0430, \u043f\u0440\u0438 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438\u043b\u0438 \u043f\u0440\u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b mysql \u043b\u043e\u043c\u0430\u044e\u0442\u0441\u044f, \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438, \u043f\u043e\u0440\u0442\u044f\u0442\u0441\u044f\u00a0\u0438\u043d\u0434\u0435\u043a\u0441\u044b. \u0412\u0441\u0451 \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u044d\u0442\u043e\u00a0<em><strong>mysqlcheck<\/strong>\u00a0<\/em>&#8211; \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043d\u0430 \u0445\u043e\u0434\u0443, \u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044f \u0434\u0435\u043c\u043e\u043d\u0430.<\/p>\n<blockquote><p>mysqlcheck -u root &#8211;auto-repair &#8211;check &#8211;optimize &#8211;all-databases<\/p><\/blockquote>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 &#8211;\u00a0<em><strong>myisamchk<\/strong><\/em>. \u0418\u043d\u043e\u0433\u0434\u0430, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0431\u0430\u0437\u044b \u0434\u043b\u044f \u0440\u0435\u043c\u043e\u043d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446. \u041f\u043e-\u043c\u043e\u0435\u043c\u0443 \u043e\u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u0430 \u043a \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<blockquote><p>myisamchk -r -q\u00a0\/var\/db\/mysql\/*\/*.MYI<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u043d\u043e\u0433\u0434\u0430, \u043f\u0440\u0438 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438\u043b\u0438 \u043f\u0440\u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b mysql \u043b\u043e\u043c\u0430\u044e\u0442\u0441\u044f, \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0434\u0432\u043e\u0439\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438, \u043f\u043e\u0440\u0442\u044f\u0442\u0441\u044f\u00a0\u0438\u043d\u0434\u0435\u043a\u0441\u044b. \u0412\u0441\u0451 \u044d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u041f\u0435\u0440\u0432\u044b\u0439 \u044d\u0442\u043e\u00a0mysqlcheck\u00a0&#8211; \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/avalon.land\/blog\/it\/mysql-fix-smartly\/\">Continue reading<span class=\"screen-reader-text\">\u0420\u0435\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c MySQL \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-it","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":1,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/posts\/124\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalon.land\/blog\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}