{"id":2119,"date":"2011-11-20T19:00:19","date_gmt":"2011-11-20T11:00:19","guid":{"rendered":"http:\/\/www.jpuyy.com\/blog\/?p=2119"},"modified":"2012-09-28T22:34:25","modified_gmt":"2012-09-28T14:34:25","slug":"mysql-start-failed","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=2119","title":{"rendered":"mysql\u542f\u52a8\u5931\u8d25"},"content":{"rendered":"<p>\/usr\/sbin\/mysqld status<\/p>\n<p>\u63d0\u793a<\/p>\n<p>lc-messages-dir=\/usr\/share\/mysql<\/p>\n<p>\u5728<a href=\"http:\/\/www.dotdeb.org\/2011\/11\/01\/mysql-5-5-is-finally-here\/\">http:\/\/www.dotdeb.org\/2011\/11\/01\/mysql-5-5-is-finally-here\/<\/a> \u7ed9\u51fa\u4e86\u89e3\u51b3\u65b9\u6cd5<\/p>\n<p>\u5728my.cnf\u4e2d\u6ce8\u91ca\u6389\u5c31\u53ef\u4ee5\u4e86<\/p>\n<pre>\"The mysql-common package will be upgraded to version 5.5.17. It\u2019s no\r\nbig deal, it only contains retro-compatible configuration files.\"\r\nWrong. The my.cnf delivered by mysql-common-5.5 contains the\r\nlc-messages-dir setting, which MySQL Server 5.1 cannot understand\r\nand will fail to start.To everyone who upgraded mysql-common to 5.5,\r\nbut left mysql-server unchanged: Comment out the lc-messages-dir\r\nsetting in my.cnf OR YOUR MYSQL SERVER WILL FAIL TO START.\r\n\r\n\u00a0Best regards,\r\n Tobias<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/usr\/sbin\/mysqld status \u63d0\u793a lc-messages-dir=\/usr\/share\/mysql \u5728http:\/\/www.dotdeb.org\/2011\/11\/01\/mysql-5-5-is-finally-here\/ \u7ed9\u51fa\u4e86\u89e3\u51b3\u65b9\u6cd5 \u5728my.cnf\u4e2d\u6ce8\u91ca\u6389\u5c31\u53ef\u4ee5\u4e86 &#8220;The mysql-common package will be upgraded to version 5.5.17. It\u2019s no big deal, it only contains retro-compatible configuration files.&#8221; Wrong. The my.cnf delivered by mysql-common-5.5 contains the lc-messages-dir setting, which MySQL Server 5.1 cannot understand and will fail to start.To everyone who upgraded mysql-common to 5.5, but left [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[23],"class_list":["post-2119","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-summary"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/2119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2119"}],"version-history":[{"count":9,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/2119\/revisions"}],"predecessor-version":[{"id":2121,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/2119\/revisions\/2121"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}