{"id":113,"date":"2016-04-26T22:25:21","date_gmt":"2016-04-26T14:25:21","guid":{"rendered":"http:\/\/pony.blog.myhz.com\/?p=113"},"modified":"2016-04-26T22:25:21","modified_gmt":"2016-04-26T14:25:21","slug":"mysql-5-1-42%e5%ae%89%e8%a3%85%e5%ae%8c%e6%88%90%e5%90%8e%ef%bc%8c%e5%87%ba%e7%8e%b0%e5%a6%82%e4%b8%8b%e9%94%99%e8%af%af%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/lnmp.ivan.xin\/?p=113","title":{"rendered":"mysql-5.1.42\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u51fa\u73b0\u5982\u4e0b\u9519\u8bef\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>mysql-5.1.42\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u51fa\u73b0\u5982\u4e0b\u9519\u8bef\uff1a<br \/>\nbash-3.00# .\/mysqld_safe &amp;<br \/>\n[1] 2307<br \/>\nbash-3.00# 100114 23:04:33 mysqld_safe Logging to '\/opt\/mysql\/mysql\/data\/MYHZ.err'.<br \/>\n100114 23:04:33 mysqld_safe Starting mysqld daemon with databases from \/opt\/mysql\/mysql\/data<br \/>\n100114 23:04:34 mysqld_safe mysqld from pid file \/opt\/mysql\/mysql\/data\/MYHZ.pid ended<br \/>\n\u67e5\u770blog\u6709\u4ee5\u4e0b\u62a5\u9519\uff1a<br \/>\n100114 22:51:40 InnoDB: Started; log sequence number 0 44233<br \/>\n100114 22:51:40 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist<br \/>\n100114 22:51:40 mysqld_safe mysqld from pid file \/opt\/mysql\/mysql\/data\/MYHZ.pid ended<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>bash-3.00# cd \/opt\/mysql\/mysql\/data<br \/>\nbash-3.00# rmdir mysql<br \/>\nbash-3.00# rmdir test<br \/>\nbash-3.00# ln -s \/var\/lib\/mysql\/mysql \/opt\/mysql\/mysql\/data\/mysql<br \/>\nbash-3.00# ln -s \/var\/lib\/mysql\/test \/opt\/mysql\/mysql\/data\/test<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mysql-5.1.42\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u51fa\u73b0\u5982\u4e0b\u9519\u8bef\uff1a bash-3.00# .\/mysqld_safe &#038;amp...<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15330],"tags":[],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":0,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"wp:attachment":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}