{"id":478,"date":"2014-02-27T11:32:11","date_gmt":"2014-02-27T10:32:11","guid":{"rendered":"http:\/\/www.antynet.pl\/?p=478"},"modified":"2014-02-27T11:32:11","modified_gmt":"2014-02-27T10:32:11","slug":"mysql-is-marked-as-crashed-and-last-automatic-repair-failed-rozwiazanie-problemu","status":"publish","type":"post","link":"https:\/\/www.antynet.pl\/index.php\/2014\/02\/27\/mysql-is-marked-as-crashed-and-last-automatic-repair-failed-rozwiazanie-problemu\/","title":{"rendered":"mysql is marked as crashed and last (automatic?) repair failed &#8211; rozwi\u0105zanie problemu"},"content":{"rendered":"<p>Ostatnio jedna z instancji mysql po restarcie zamiast wsta\u0107 sypa\u0142a logami:<\/p>\n<p>mysqld: \/usr\/sbin\/mysqld: Table &#8217;.\/mysql\/plugin&#8217; is marked as crashed and last (automatic?) repair failed<\/p>\n<p>mysqld: \/usr\/sbin\/mysqld: Table &#8217;.\/mysql\/host&#8217; is marked as crashed and last (automatic?) repair failed<\/p>\n<p>Powodem jest zamarkowanie tabeli, jako crashed. Serwer zatrzymany, wi\u0119c pytanie jak naprawi\u0107 tabel\u0119?<\/p>\n<p>Z pomoc\u0105 przychodzi skrypcik szymana:<\/p>\n<blockquote><p>#! \/bin\/bash<\/p>\n<p>\/etc\/init.d\/mysql stop<\/p>\n<p>base=&#8221;\/var\/lib\/mysql\/&#8221;<\/p>\n<p>cd $base<\/p>\n<p>lll=`ls`<\/p>\n<p>for i in $lll.<\/p>\n<p>do<\/p>\n<p>if [ -d $i ];<\/p>\n<p>then<\/p>\n<p>myisamchk -rf $i\/*.MYI<\/p>\n<p>fi<\/p>\n<p>done<\/p>\n<p>\/etc\/init.d\/mysql restart<\/p><\/blockquote>\n<p>mysql is marked as crashed and last (automatic?) repair failed &#8211; rozwi\u0105zanie problemu<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ostatnio jedna z instancji mysql po restarcie zamiast wsta\u0107 sypa\u0142a logami: mysqld: \/usr\/sbin\/mysqld: Table &#8217;.\/mysql\/plugin&#8217; is marked as crashed and last (automatic?) repair failed mysqld: \/usr\/sbin\/mysqld: Table &#8217;.\/mysql\/host&#8217; is marked as crashed and last (automatic?) repair failed Powodem jest zamarkowanie tabeli, jako crashed. Serwer zatrzymany, wi\u0119c pytanie jak naprawi\u0107 tabel\u0119? Z pomoc\u0105 przychodzi skrypcik szymana: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-478","post","type-post","status-publish","format-standard","hentry","category-sciaga-admina"],"_links":{"self":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/comments?post=478"}],"version-history":[{"count":2,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/478\/revisions"}],"predecessor-version":[{"id":480,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/478\/revisions\/480"}],"wp:attachment":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/media?parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/categories?post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/tags?post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}