{"id":210,"date":"2007-09-08T00:00:00","date_gmt":"2007-09-08T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=210"},"modified":"2007-09-08T00:00:00","modified_gmt":"2007-09-08T00:00:00","slug":"\u5fd8\u8a18mysql \u5bc6\u78bc\u7684\u53d6\u56de\u65b9\u6cd5","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=210","title":{"rendered":"\u5fd8\u8a18mysql \u5bc6\u78bc\u7684\u53d6\u56de\u65b9\u6cd5"},"content":{"rendered":"<p><font face=\"\u7d30\u660e\u9ad4\">\u5982\u679c MySQL \u6b63\u5728\u904b\u884c\uff0c<br \/>\u9996\u5148\u6bba\u4e4b\uff1a killall -TERM mysqld(\u5982\u679c\u662fwindows,\u76f4\u63a5\u8abf\u51fa\u9032\u7a0b\u7ba1\u7406\u5668,\u7d50\u675f\u4e4b) <br \/>\u4ee5\u5b89\u5168\u6a21\u5f0f\u5553\u52d5 MySQL \uff1a<br \/>\/usr\/bin\/safe_mysqld &#8211;skip-grant-tables &amp; <br \/>(windows \u4e0b mysql\u5b89\u88dd\u6240\u4ee5\u76e4\/mysql\/bin\/safe_mysqld &#8211;skip-grant-tables )<br \/>\u5c31\u53ef\u4ee5\u4e0d\u9700\u8981\u5bc6\u78bc\u5c31\u9032\u5165 MySQL \u4e86\u3002 <br \/>\u7136\u5f8c\u5c31\u662f <br \/>&gt;use mysql <br \/>&gt;update user set password=password(&quot;new_pass&quot;) where user=&quot;root&#038;quot$$ <br \/>&gt;flush privileges; <br \/>\u91cd\u65b0\u6bba MySQL \uff0c\u7528\u6b63\u5e38\u65b9\u6cd5\u5553\u52d5 MySQL \u3002 <br \/><\/font><\/p>\n<p style=\"margin-bottom: 0.5cm\"><font face=\"MingLiU\"><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c MySQL \u6b63\u5728\u904b\u884c\uff0c\u9996\u5148\u6bba\u4e4b\uff1a killall -TERM mysqld(\u5982\u679c\u662fwindows,\u76f4\u63a5\u8abf\u51fa\u9032\u7a0b\u7ba1\u7406\u5668,\u7d50\u675f\u4e4b) \u4ee5\u5b89\u5168\u6a21\u5f0f\u5553\u52d5 MySQL \uff1a\/usr\/bin\/safe_mysqld &#8211;skip-grant-tables &amp; (windows \u4e0b mysql\u5b89\u88dd\u6240\u4ee5\u76e4\/mysql\/bin\/safe_mysqld &#8211;skip-grant-tables )\u5c31\u53ef\u4ee5\u4e0d\u9700\u8981\u5bc6\u78bc\u5c31\u9032\u5165 MySQL \u4e86\u3002 \u7136\u5f8c\u5c31\u662f &gt;use mysql &gt;update user set password=password(&quot;new_pass&quot;) where user=&quot;root&#038;quot$$ &gt;flush privileges; \u91cd\u65b0\u6bba MySQL \uff0c\u7528\u6b63\u5e38\u65b9\u6cd5\u5553\u52d5 MySQL \u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}