{"id":5531,"date":"2023-11-22T23:19:23","date_gmt":"2023-11-22T15:19:23","guid":{"rendered":"https:\/\/white-night.club\/?p=5531"},"modified":"2023-11-23T15:26:59","modified_gmt":"2023-11-23T07:26:59","slug":"blog30","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/11\/22\/blog30\/","title":{"rendered":"\u88ab\u5220\u6570\u636e\u5e93+\u52d2\u7d22"},"content":{"rendered":"\n<p>\u670d\u52a1\u5668\u53c8\u7ed9\u4eba\u9ed1\u4e86\u3002\u8fd9\u6b21\u662f\u7ed9\u4eba\u9ed1\u4e86\u6570\u636e\u5e93\uff0c\u88ab\u4eba\u5220\u5e93+\u52d2\u7d22\uff0c\u5148\u653e\u56fe\u5427\u3002\u6211\u8fd8\u82b1\u4e86\u4eca\u5929\u4e00\u4e2a\u4e0b\u5348\u7684\u65f6\u95f4\u67e5+\u4fee\u8fd9\u4e2a\u6f0f\u6d1e\uff0c\u5bfc\u81f4\u7f51\u7ad9\u6709\u63a5\u8fd16\u4e2a\u5c0f\u65f6\u90fd\u6ca1\u6cd5\u8bbf\u95ee\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"464\" src=\"https:\/\/white-night.club\/wp-content\/uploads\/2023\/11\/eff76ce5a57cf336c0aaa1ba7bb7113-1024x464.png\" alt=\"\" class=\"wp-image-5535\" style=\"border-style:none;border-width:0px;border-radius:0px\" srcset=\"https:\/\/white-night.club\/wp-content\/uploads\/2023\/11\/eff76ce5a57cf336c0aaa1ba7bb7113-1024x464.png 1024w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/11\/eff76ce5a57cf336c0aaa1ba7bb7113-300x136.png 300w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/11\/eff76ce5a57cf336c0aaa1ba7bb7113-768x348.png 768w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/11\/eff76ce5a57cf336c0aaa1ba7bb7113-1536x697.png 1536w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/11\/eff76ce5a57cf336c0aaa1ba7bb7113.png 1581w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4eca\u5929\u4e0b\u5348\u4e24\u70b9\u7684\u65f6\u5019\uff0cwordpress\u7a81\u7136\u53c8\u8fde\u4e0d\u4e0a\u6570\u636e\u5e93\u4e86\u3002\u8fd9\u6b21\u91cd\u542fhttpd\u4e5f\u6551\u4e0d\u56de\u6765\u3002<\/p>\n\n\n\n<p>\u5728\u591a\u6b21\u5c1d\u8bd5\u540e\uff0c\u53d1\u73b0\u662fmysql\u7684root\u8d26\u6237\u767b\u4e0d\u4e0a\u53bb\uff0c\u5bc6\u7801\u662f\u5bf9\u7684\uff0c\u4f46\u5c31\u662f\u767b\u4e0d\u4e0a\u53bb\u3002\u8fd9\u4e2a\u65f6\u5019\u6211\u5c31\u5df2\u7ecf\u521d\u6b65\u6000\u7591\u662f\u88ab\u4eba\u767b\u4e0amysql\u6539\u4e86\u5bc6\u7801\u3002<\/p>\n\n\n\n<p>\u8bd5\u7740\u7528mysqld_safe &#8211;skip-grant-tables\u8df3\u8fc7\u9a8c\u8bc1\uff0c\u7136\u540e\u6539\u4e86root\u5bc6\u7801\u3002\u53d1\u73b0\u767b\u4e0a\u53bb\u4e4b\u540ewordpress\u5c31\u5269\u4e0a\u56fe\u7684\u5185\u5bb9\u4e86\uff0c\u4ed4\u7ec6\u4e00\u770b\u624d\u77e5\u9053\u786e\u5b9e\u662f\u7ed9\u4eba\u9ed1\u4e86\u3002<\/p>\n\n\n\n<p>\u8fd8\u597d\u524d\u4e24\u5929\u505a\u4e86\u5feb\u7167\uff0c\u4e0d\u7528\u56de\u6eda\u4e2a\u51e0\u4e2a\u661f\u671f\u5565\u7684\uff0c\u4e0d\u7136\u771f\u7684\u4f1a\u75af\u7684\u3002\u56de\u6eda\u540e\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u6539\u4e86\u4e2a\u66f4\u590d\u6742\u7684\u5bc6\u7801\u3002\u590d\u76d8\u4e4b\u540e\u63a8\u6d4b\u8be5\u6f0f\u6d1e\u2014\u2014\u662f\u524d\u51e0\u5929\u4e3a\u4e86\u80fd\u901a\u8fc7navicat\u8fdc\u7a0b\u8bbf\u95eecentos7\u670d\u52a1\u5668\u7684mysql\u6570\u636e\u5e93\uff0c\u4fee\u6539user\u8868\u5bfc\u81f4\u7684\u6f0f\u6d1e\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5c31\u662f\u6392\u9664\u670d\u52a1\u5668\u7684\u5b89\u5168\u6f0f\u6d1e\u4e86\uff0c\u5148\u628a\u670d\u52a1\u5668\u7684\u57fa\u7ebf\u98ce\u9669\u4e00\u4e2a\u4e00\u4e2a\u5904\u7406\u6389\u5427\u3002\u540c\u65f6\u8fd8\u8981\u7422\u78e8\u4e0bMysql\u6743\u9650\u8fd9\u5757\u7684\u77e5\u8bc6\u3002\u5e73\u65f6\u786e\u5b9e\u6ca1\u6ce8\u610f\u8fc7\u8fd9\u65b9\u9762\uff0c\u90fd\u662f\u9760\u5feb\u7167\u6551\u56de\u6765\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5feb\u7167\u5728\u624b\uff0c\u5929\u4e0b\u6211\u6709<\/p>\n","protected":false},"author":1,"featured_media":5535,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[14,12],"tags":[11],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5531"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=5531"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5531\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/5535"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=5531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=5531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=5531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}