{"id":1773,"date":"2018-12-29T13:38:12","date_gmt":"2018-12-29T05:38:12","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1773"},"modified":"2018-12-29T13:38:56","modified_gmt":"2018-12-29T05:38:56","slug":"mysql-5-7-%e4%bb%a5%e4%b8%8a%e7%89%88%e6%9c%ac%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e5%af%86%e7%a0%81%e4%b8%8d%e8%bf%87%e6%9c%9f","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1773","title":{"rendered":"mysql 5.7 \u4ee5\u4e0a\u7248\u672c\u5982\u4f55\u8bbe\u7f6e\u5bc6\u7801\u4e0d\u8fc7\u671f"},"content":{"rendered":"
\u6211\u7528\u7684mysql\u6570\u636e\u5e93\u7248\u672c\u73b0\u5728\u5bc6\u7801\u6bcf\u8fc7\u4e00\u5e74\uff0c\u90fd\u63d0\u793a\u5bc6\u7801\u4f1a\u8fc7\u671f\uff0c\u6bd4\u8f83\u70e6\u4eba\u3002\u5982\u679c\u53ea\u8d1f\u8d23\u4e00\u4e2a\u6570\u636e\u5e93\u8fd8\u597d\uff0c\u591a\u4e86\u7684\u8bdd\uff0c\u5c31\u5f88\u4e0d\u597d\u4e86\u3002<\/p>\n
\u6240\u4ee5\u767e\u5ea6\u4e86\u4e00\u4e0b\uff0c\u5982\u4f55mysql 5.7 \u4ee5\u4e0a\u7248\u672c\u5982\u4f55\u8bbe\u7f6e\u5bc6\u7801\u4e0d\u8fc7\u671f\uff01<\/strong><\/p>\n \u6211\u7684\u89e3\u51b3\u529e\u6cd5\uff0c\u5728mysql\u7684\u914d\u7f6e\u6587\u4ef6 my.conf \u4e2d\u7684\u00a0[mysqld] \u5b57\u6bb5\u6dfb\u52a0\u00a0default_password_lifetime = 0 \u5373\u53ef\u3002<\/p>\n \u7136\u540e\u91cd\u542fmysql\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd9\u6837\u5bc6\u7801\u4e5f\u4e0d\u7528\u4fee\u6539\u4e86\uff0c\u4ee5\u540e\u4e5f\u4e0d\u4f1a\u8fc7\u671f\u4e86\u3002<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u6211\u7528\u7684mysql\u6570\u636e\u5e93\u7248\u672c\u73b0\u5728\u5bc6\u7801\u6bcf\u8fc7\u4e00\u5e74\uff0c\u90fd\u63d0\u793a\u5bc6\u7801\u4f1a\u8fc7\u671f\uff0c\u6bd4\u8f83\u70e6\u4eba\u3002\u5982\u679c\u53ea\u8d1f\u8d23\u4e00\u4e2a\u6570\u636e\u5e93\u8fd8\u597d\uff0c\u591a\u4e86\u7684\u8bdd\uff0c\u5c31\u5f88\u4e0d\u597d\u4e86\u3002 \u6240\u4ee5\u767e\u5ea6\u4e86\u4e00\u4e0b\uff0c\u5982\u4f55mysql 5.7 \u4ee5\u4e0a\u7248\u672c\u5982\u4f55\u8bbe\u7f6e\u5bc6\u7801\u4e0d\u8fc7\u671f\uff01 \u6211\u7684\u89e3\u51b3\u529e\u6cd5\uff0c\u5728mysql\u7684\u914d\u7f6e\u6587\u4ef6 my.conf \u4e2d\u7684\u00a0[mysqld] \u5b57\u6bb5\u6dfb\u52a0\u00a0default_password_lifetime = 0 \u5373\u53ef\u3002 [mysqld] default_password_lifetime = 0 \u7136\u540e\u91cd\u542fmysql\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd9\u6837\u5bc6\u7801\u4e5f\u4e0d\u7528\u4fee\u6539\u4e86\uff0c\u4ee5\u540e\u4e5f\u4e0d\u4f1a\u8fc7\u671f\u4e86\u3002 service mysqld restart <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1773"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1773"}],"version-history":[{"count":2,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1773\/revisions"}],"predecessor-version":[{"id":1775,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1773\/revisions\/1775"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1773"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}[mysqld]\r\ndefault_password_lifetime = 0<\/pre>\n
service mysqld restart<\/pre>\n