{"id":3494,"date":"2013-05-31T22:36:40","date_gmt":"2013-05-31T19:36:40","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3494"},"modified":"2017-11-09T11:34:10","modified_gmt":"2017-11-09T09:34:10","slug":"mysql-%d1%86%d0%b8%d0%ba%d0%bb%d0%b8%d1%87%d0%b5%d1%81%d0%ba%d0%b8%d0%b9-%d0%bf%d0%b5%d1%80%d0%b5%d0%b7%d0%b0%d0%bf%d1%83%d1%81%d0%ba","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3494","title":{"rendered":"[mysql] \u0426\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a"},"content":{"rendered":"<p>\u0412 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 <strong>mysql<\/strong> \u043d\u0430\u0447\u0430\u043b \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f. \u0412 \u043b\u043e\u0433\u0430\u0445 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435<\/p>\n<p><code>130531 21:17:46 - mysqld got signal 11 ;<br \/>\nThis could be because you hit a bug. It is also possible that this binary<br \/>\nor one of the libraries it was linked against is corrupt, improperly built,<br \/>\nor misconfigured. This error can also be caused by malfunctioning hardware.<br \/>\nWe will try our best to scrape up some info that will hopefully help diagnose<br \/>\nthe problem, but since we have already crashed, something is definitely wrong<br \/>\nand this may fail.<\/code><\/p>\n<p><!--more--><\/p>\n<p><code>key_buffer_size=8384512<br \/>\nread_buffer_size=131072<br \/>\nmax_used_connections=11<br \/>\nmax_connections=100<br \/>\nthreads_connected=10<br \/>\nIt is possible that mysqld could use up to<br \/>\nkey_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225787 K<br \/>\nbytes of memory<br \/>\nHope that's ok; if not, decrease some variables in the equation.<br \/>\n130531 21:17:46 mysqld restarted<br \/>\n130531 21:17:46 InnoDB: Started; log sequence number 144 3135987376<\/code><\/p>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u044f\u0441\u043d\u0430 &#8211; \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0430 \u0431\u0430\u0437\u0430<strong> innodb<\/strong>.<\/p>\n<p>\u0421\u043a\u0430\u0436\u0443 \u0441\u0440\u0430\u0437\u0443: \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e &#8211; \u043a\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u044b\u0435, \u0442\u0430\u043a \u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c. \u0420\u0435\u0448\u0438\u043b \u043f\u043e\u0439\u0442\u0438 \u043f\u043e \u043f\u0443\u0442\u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c \u043f\u0443\u0442\u0451\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<p>\u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443<\/p>\n<p><code>innodb_force_recovery=4<\/code><\/p>\n<p>\u043f\u043e\u0441\u043b\u0435 \u043f\u0430\u0440\u0443 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043d\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439<\/p>\n<p><code>InnoDB: innodb_force_recovery is on: we do not allow<br \/>\nInnoDB: database modifications by the user. Shut down<br \/>\nInnoDB: mysqld and edit my.cnf so that newraw is replaced<br \/>\nInnoDB: with raw, and innodb_force_... is removed.<\/code><\/p>\n<p>\u043c\u0435\u043d\u044f\u0435\u043c<\/p>\n<p><code>innodb_force_recovery=4<\/code><\/p>\n<p>\u043d\u0430<\/p>\n<p><code>innodb_force_recovery=2<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c (\u043b\u0438\u0431\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a, \u043b\u0438\u0431\u043e \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f <strong>InnoDB: innodb_force_recovery is on: we do not allow<\/strong>&#8230; ) \u043c\u0435\u043d\u044f\u0435\u043c 2 \u043d\u0430 3, \u0438 \u043e\u043f\u044f\u0442\u044c \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c. \u041f\u043e\u0441\u043b\u0435 \u043c\u0435\u043d\u044f\u0435\u043c \u043e\u043f\u044f\u0442\u044c \u043d\u0430 4 \u0438 \u0432 \u043a\u043e\u043d\u0446\u0435 &#8211; \u0432\u043e\u043e\u0431\u0449\u0435 \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u043f\u0446\u0438\u044e<\/p>\n<p><code>innodb_force_recovery=...<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0438 \u0431\u0430\u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u0442\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0441\u0431\u043e\u0439\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0438 \u043b\u0438\u0431\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043b\u0438\u0431\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0439 <strong>truncate<\/strong>. \u0421\u0431\u043e\u0439\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043f\u0443\u0442\u0451\u043c <strong>mysqldump&#8217;a<\/strong> (\u0432\u0435\u0434\u044c \u043b\u0443\u0447\u0448\u0435 \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0430\u043c\u043f \u0432\u0441\u0435\u0445 \u0431\u0430\u0437). \u0415\u0441\u043b\u0438 \u0447\u0430\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u0441\u0451 \u0436\u0435 \u043d\u0443\u0436\u043d\u0430 &#8211; \u0442\u043e\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0430\u043c\u043f \u044d\u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0434\u043e \u0441\u0431\u043e\u0439\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u043b\u0438\u0431\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u044d\u0442\u0443 \u0437\u0430\u043f\u0438\u0441\u044c, \u043b\u0438\u0431\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c <strong>truncate<\/strong> + \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0437\u0430\u043b\u0438\u0432 \u0434\u0430\u043c\u043f\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<\/p>\n<p>\u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0445\u0430\u043a: \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 <strong>my.cnf<\/strong> \u0442\u043e\u0447\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 (\u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043e \u0431\u0430\u0439\u0442\u0430) \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0430\u0437\u044b \u0438 \u043b\u043e\u0433\u043e\u0432 \u0438 \u0440\u0435\u0436\u0438\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f <strong>6<\/strong>:<\/p>\n<p><code>innodb_data_file_path = ibdata1:11788091392:autoextend<br \/>\ninnodb_log_file_size = 5242880<br \/>\ninnodb_force_recovery = 6<\/code><\/p>\n<p>\u0410 \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0451 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0447\u043a\u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043e\u0432\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u0438\u00a0<a href=\"http:\/\/local.com.ua\/forum\/blog\/3\/entry-10-%D0%B2%D0%BE%D1%81%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-innodb\/\" rel=\"nofollow\">http:\/\/local.com.ua\/forum\/blog\/3\/entry-10-%D0%B2%D0%BE%D1%81%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-innodb\/<\/a><\/p>\n<p>\u0412\u043e\u043e\u0431\u0449\u0435\u043c, \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435.<\/p>\n<p>\u0410 \u0432\u043e\u0442 \u0435\u0449\u0451 \u043f\u0430\u0440\u043e\u0447\u043a\u0430 \u0441\u043e\u0432\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0443\u0442:<\/p>\n<p>http:\/\/yapatha.livejournal.com\/255447.html<br \/>\nhttp:\/\/www.chriscalender.com\/recovering-an-innodb-table-from-only-an-ibd-file\/<br \/>\nhttps:\/\/www.percona.com\/blog\/2011\/05\/13\/connecting-orphaned-ibd-files\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 mysql \u043d\u0430\u0447\u0430\u043b \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f. \u0412 \u043b\u043e\u0433\u0430\u0445 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 130531 21:17:46 &#8211; mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-3494","post","type-post","status-publish","format-standard","hentry","category-databases"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3494"}],"version-history":[{"count":6,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3494\/revisions"}],"predecessor-version":[{"id":5361,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3494\/revisions\/5361"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}