{"id":623,"date":"2009-01-06T17:23:54","date_gmt":"2009-01-06T09:23:54","guid":{"rendered":"http:\/\/blog.cdhaha.net\/?p=623"},"modified":"2009-04-28T17:26:44","modified_gmt":"2009-04-28T09:26:44","slug":"%e6%90%ad%e5%bb%bawimp%e5%b9%b3%e5%8f%b0%ef%bc%884%ef%bc%89","status":"publish","type":"post","link":"http:\/\/blog.cdhaha.net\/?p=623","title":{"rendered":"\u642d\u5efaWIMP\u5e73\u53f0\uff084\uff09"},"content":{"rendered":"<p><img decoding=\"async\" src=\"wp-content\/uploads\/2009\/wordpress.gif\" class=\"alignleft\" \/>\u3000\u3000\u88c5\u597dphpMyAdmin\u4e4b\u540e\uff0c\u7528http:\/\/localhost\/pma\uff08pma\u662fphpMyAdmin\u7684\u7b80\u79f0\uff0c\u4f60\u4e5f\u53ef\u4ee5\u81ea\u884c\u8bbe\u5b9a\uff09\u767b\u5f55\u4e00\u4e0b\uff0c\u8bed\u8a00\u9009\u4e2d\u6587\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u5c31\u662fMySQL\u4e2d\u914d\u7f6e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff08\u4e0d\u80fd\u5fd8\u8bb0\u54e6\uff09\u3002<\/p>\n<p>\u3000\u3000\u8fdb\u53bb\u4ee5\u540e\u573a\u666f\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u5e93\uff0c\u4f8b\u5982WP\uff08\u540d\u5b57\u53ef\u4ee5\u81ea\u884c\u8bbe\u5b9a\uff09\uff0c\u7f16\u7801\u6700\u597d\u9009<strong>UTF-8 Unicode<\/strong>\u3002\u521b\u5efa\u597d\u4e86\u4ee5\u540e\uff0c\u9009\u62e9\u4e0a\u90e8\u83dc\u5355\u7684\u201c<strong>\u6743\u9650<\/strong>\u201d\uff0c\u521b\u5efa\u4e00\u4e2a\u7528\u6237\uff0c\u4f8b\u5982Admin\uff0c\u6dfb\u52a0\u201c<strong>\u4f7f\u7528\u6587\u672c\u57df<\/strong>\u201d\uff0c\u518d\u8bbe\u4e00\u4e2a\u6bd4\u8f83\u590d\u6742\u3001\u4f46\u662f\u81ea\u5df1\u8bb0\u5f97\u4f4f\u7684\u5bc6\u7801\uff0c\u4f8b\u5982123456\uff0c\u5176\u4ed6\u7684\u4fdd\u6301\u9ed8\u8ba4\u5c31\u53ef\u4ee5\u4e86\u3002\u7136\u540e\u56de\u5230\u6743\u9650\u9875\uff0c\u5728\u521a\u521a\u521b\u5efa\u7684\u7528\u6237\u540d\u65c1\u8fb9\u70b9\u51fb\u201c<strong>\u68c0\u67e5\u6743\u9650<\/strong>\u201d\uff0c\u7136\u540e\u518d\u9009\u62e9\u521a\u521a\u521b\u5efa\u7684\u6570\u636e\u5e93 WP\uff0cphpMyadmin \u4f1a\u628a\u4f60\u5e26\u5230\u201c<strong>\u4e3a\u6570\u636e\u5e93\u6dfb\u52a0\u6743\u9650<\/strong>\u201d\u9875\u9762\uff0c\u5168\u9009\u4e4b\uff0c\u7136\u540e\u6267\u884c\u3002\u597d\u4e86\uff0c\u5230\u6b64\u4e3a\u6b62\uff0c\u5c31\u5b8c\u6210\u4e86\u5efa\u7acb\u6570\u636e\u5e93\u7684\u5de5\u4f5c\u3002<br \/>\n<!--more--><br \/>\n\u3000\u3000\u5efa\u7acb\u5b8c\u6570\u636e\u5e93\uff0c\u5343\u4e07\u4e0d\u8981\u5fd8\u8bb0\u4f60\u7684 database\uff08\u5982WP\uff09, username\uff08\u5982Admin\uff09, password\uff08\u5982123456\uff09 \u548c hostname\uff08\u9664\u975e\u5916\u9762\u6709\u4e9b\u670d\u52a1\u5546\u6709\u7279\u6b8a\u8bf4\u660e\uff0chostname \u4e00\u822c\u4e3a localhost\uff09\u3002<\/p>\n<p>\u3000\u3000\u63a5\u4e0b\u6765\u628a\u5230WordPress\u7684\u5b98\u7f51http:\/\/cn.wordpress.org\/\u53bb\u4e0b\u8f7d\u6700\u65b0\u7684\u4e2d\u6587\u7248\uff0c\u5c31\u538b\u7f29\u540e\u4e0a\u4f20\u5230wwwroot\u76ee\u5f55\u91cc\u9762\uff0c\u5728\u4f7f\u7528\u4e4b\u524d\uff0c\u5148\u7528\u8bb0\u4e8b\u672c\u6253\u5f00 <strong>wp-config-sample.php<\/strong> \u6587\u4ef6\uff0c\u627e\u5230\u4ee5\u4e0b\u51e0\u884c\uff1a<\/p>\n<p><strong>   1. define(&#8216;DB_NAME&#8217;, &#8216;wordpress&#8217;);    \/\/ The name of the database<br \/>\n   2. define(&#8216;DB_USER&#8217;, &#8216;username&#8217;);     \/\/ Your MySQL username<br \/>\n   3. define(&#8216;DB_PASSWORD&#8217;, &#8216;password&#8217;); \/\/ &#8230;and password<br \/>\n   4. define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);    \/\/ 99% chance you won&#8217;t need to change this value<\/strong><\/p>\n<p>\u3000\u3000\u5c06\u4e4b\u524d\u6211\u4eec\u914d\u7f6e\u597d\u7684\u6570\u636e\u5e93\u540d\uff0c\u7528\u6237\u540d\uff0c\u5bc6\u7801\u548c\u6570\u636e\u5e93\u670d\u52a1\u5668(hostname)\u5206\u522b\u586b\u4e0a\u3002\u4ee5\u524d\u9762\u6211\u4eec\u7684\u8bbe\u7f6e\u4e3a\u4f8b\uff0c\u5e94\u4e3a\uff1a<\/p>\n<p>   1. define(&#8216;DB_NAME&#8217;, &#8216;WP&#8217;);    \/\/ The name of the database<br \/>\n   2. define(&#8216;DB_USER&#8217;, &#8216;Admin&#8217;);     \/\/ Your MySQL username<br \/>\n   3. define(&#8216;DB_PASSWORD&#8217;, &#8216;123456&#8217;); \/\/ &#8230;and password<br \/>\n   4. define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);    \/\/ 99% chance you won&#8217;t need to change this value<\/p>\n<p>\u3000\u3000\u5b8c\u6210\u4ee5\u4e0a\u4fee\u6539\u540e\uff0c\u5c06\u6587\u4ef6\u53e6\u5b58\u4e3a <strong>wp-config.php<\/strong> \u5230\u539f\u76ee\u5f55\u4e0b\u3002\u7528\u6d4f\u89c8\u5668\u8f93\u5165http:\/\/localhost\/wp-admin\/install.php\uff0c\u63a5\u4e0b\u6765\u7684\u4e8b\u60c5\u5c31\u5f88\u7b80\u5355\u4e86\uff0c\u63d0\u9192\u5927\u5bb6\u6ce8\u610f\uff0c\u586b\u90ae\u4ef6\u5730\u5740\u7684\u65f6\u5019\u6700\u597d\u586b\u4e00\u4e2a\u771f\u5b9e\u7684\uff0c\u5176\u4ed6\u7684\u6ca1\u6709\u4e86\u3002<\/p>\n<p>\u3000\u3000\u5e0c\u671b\u5927\u5bb6\u559c\u6b22\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000\u88c5\u597dphpMyAdmin\u4e4b\u540e\uff0c\u7528http:\/\/localhost\/pma\uff08pma\u662fphpMyAdmin\u7684\u7b80\u79f0\uff0c\u4f60\u4e5f\u53ef\u4ee5\u81ea\u884c\u8bbe\u5b9a\uff09\u767b\u5f55\u4e00\u4e0b\uff0c\u8bed\u8a00\u9009\u4e2d\u6587\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u5c31\u662fMySQL\u4e2d\u914d\u7f6e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff08\u4e0d\u80fd\u5fd8\u8bb0\u54e6\uff09\u3002 \u3000\u3000\u8fdb\u53bb\u4ee5\u540e\u573a\u666f\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u5e93\uff0c\u4f8b\u5982WP\uff08\u540d\u5b57\u53ef\u4ee5\u81ea\u884c\u8bbe\u5b9a\uff09\uff0c\u7f16\u7801\u6700\u597d\u9009UTF-8 Unicode\u3002\u521b\u5efa\u597d\u4e86\u4ee5\u540e\uff0c\u9009\u62e9\u4e0a\u90e8\u83dc\u5355\u7684\u201c\u6743\u9650\u201d\uff0c\u521b\u5efa\u4e00\u4e2a\u7528\u6237\uff0c\u4f8b\u5982Admin\uff0c\u6dfb\u52a0\u201c\u4f7f\u7528\u6587\u672c\u57df\u201d\uff0c\u518d\u8bbe\u4e00\u4e2a\u6bd4\u8f83\u590d\u6742\u3001\u4f46\u662f\u81ea\u5df1\u8bb0\u5f97\u4f4f\u7684\u5bc6\u7801\uff0c\u4f8b\u5982123456\uff0c\u5176\u4ed6\u7684\u4fdd\u6301\u9ed8\u8ba4\u5c31\u53ef\u4ee5\u4e86\u3002\u7136\u540e\u56de\u5230\u6743\u9650\u9875\uff0c\u5728\u521a\u521a\u521b\u5efa\u7684\u7528\u6237\u540d\u65c1\u8fb9\u70b9\u51fb\u201c\u68c0\u67e5\u6743\u9650\u201d\uff0c\u7136\u540e\u518d\u9009\u62e9\u521a\u521a\u521b\u5efa\u7684\u6570\u636e\u5e93 WP\uff0cphpMyadmin \u4f1a\u628a\u4f60\u5e26\u5230\u201c\u4e3a\u6570\u636e\u5e93\u6dfb\u52a0\u6743\u9650\u201d\u9875\u9762\uff0c\u5168\u9009\u4e4b\uff0c\u7136\u540e\u6267\u884c\u3002\u597d\u4e86\uff0c\u5230\u6b64\u4e3a\u6b62\uff0c\u5c31\u5b8c\u6210\u4e86\u5efa\u7acb\u6570\u636e\u5e93\u7684\u5de5\u4f5c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[1433,1444,1439,622],"views":3741,"_links":{"self":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/623"}],"collection":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=623"}],"version-history":[{"count":0,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=\/wp\/v2\/posts\/623\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.cdhaha.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}