{"id":17849,"date":"2024-11-18T12:59:19","date_gmt":"2024-11-18T04:59:19","guid":{"rendered":"https:\/\/fwq.ai\/blog\/17849\/"},"modified":"2024-11-18T12:59:19","modified_gmt":"2024-11-18T04:59:19","slug":"phpstudy3306%e7%ab%af%e5%8f%a3%e8%a2%ab%e5%8d%a0%e7%94%a8%e6%80%8e%e4%b9%88%e5%8a%9e","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/17849\/","title":{"rendered":"phpstudy3306\u7aef\u53e3\u88ab\u5360\u7528\u600e\u4e48\u529e"},"content":{"rendered":"<blockquote><p>\n  phpstudy\u76843306\u7aef\u53e3\u88ab\u5360\u7528\u65f6\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u6b65\u9aa4\u89e3\u51b3\uff1a1. \u68c0\u67e5\u5176\u4ed6\u7a0b\u5e8f\u662f\u5426\u4f7f\u7528\u8be5\u7aef\u53e3\uff1b2. \u4fee\u6539phpstudy\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u7aef\u53e3\u53f7\uff1b3. \u91cd\u542fphpstudy\uff1b4. \u786e\u4fdd\u9632\u706b\u5899\u5141\u8bb8\u65b0\u7aef\u53e3\u7684\u4f20\u5165\u8fde\u63a5\uff1b5. \u5c1d\u8bd5\u91cd\u542f\u8ba1\u7b97\u673a\u6216\u91cd\u65b0\u5b89\u88c5phpstudy\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040215031318573.jpg\" class=\"aligncenter\" title=\"phpstudy3306\u7aef\u53e3\u88ab\u5360\u7528\u600e\u4e48\u529e\u63d2\u56fe\" alt=\"phpstudy3306\u7aef\u53e3\u88ab\u5360\u7528\u600e\u4e48\u529e\u63d2\u56fe\" \/><\/p>\n<p><strong>3306\u7aef\u53e3\u88ab\u5360\u7528<\/strong><\/p>\n<p><strong>\u95ee\u9898<\/strong>\uff1a\u5982\u679cphpstudy3306\u7aef\u53e3\u88ab\u5360\u7528\uff0c\u8be5\u600e\u4e48\u529e\uff1f<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848<\/strong>\uff1a<\/p>\n<p><strong>1. \u68c0\u67e5\u662f\u5426\u5176\u4ed6\u7a0b\u5e8f\u6b63\u5728\u4f7f\u7528\u8be5\u7aef\u53e3<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u6253\u5f00\u4efb\u52a1\u7ba1\u7406\u5668\uff08Windows\uff09\u6216\u6d3b\u52a8\u76d1\u89c6\u5668\uff08macOS\uff09\u3002<\/li>\n<li>\u5728\u201c\u8fdb\u7a0b\u201d\u6216\u201c\u6d3b\u52a8\u201d\u9009\u9879\u5361\u4e2d\uff0c\u67e5\u627e\u4f7f\u75283306\u7aef\u53e3\u7684\u7a0b\u5e8f\u3002<\/li>\n<li>\u5982\u679c\u627e\u5230\uff0c\u7ed3\u675f\u8be5\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<p><strong>2. \u4fee\u6539phpstudy\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00phpstudy\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684\u201cphpstudy.ini\u201d\u6587\u4ef6\u3002<\/li>\n<li>\n<p>\u627e\u5230\u201c[MySQL]\u201d\u90e8\u5206\uff0c\u4fee\u6539\u4ee5\u4e0b\u884c\uff1a<\/p>\n<pre>;port = 3306<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/li>\n<li>\u5c06\u7aef\u53e3\u53f7\u66f4\u6539\u4e3a\u53e6\u4e00\u4e2a\u53ef\u7528\u7684\u7aef\u53e3\uff0c\u4f8b\u59823307\u3002<\/li>\n<\/ul>\n<p><strong>3. \u91cd\u542fphpstudy<\/strong><\/p>\n<ul>\n<li>\u91cd\u542fphpstudy\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\u3002<\/li>\n<\/ul>\n<p><strong>4. \u9632\u706b\u5899\u8bbe\u7f6e<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u9632\u706b\u5899\u5141\u8bb83307\u7aef\u53e3\u7684\u4f20\u5165\u8fde\u63a5\u3002<\/li>\n<\/ul>\n<p><strong>5. \u5176\u4ed6\u6ce8\u610f\u4e8b\u9879<\/strong><\/p>\n<ul>\n<li>\n<p>\u5982\u679c\u4e0a\u8ff0\u6b65\u9aa4\u65e0\u6548\uff0c\u8bf7\u5c1d\u8bd5\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li>\u91cd\u542f\u8ba1\u7b97\u673a\u3002<\/li>\n<li>\u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5phpstudy\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>\u5907\u6ce8<\/strong>\uff1a<\/p>\n<ul>\n<li>3306\u7aef\u53e3\u662fMySQL\u7684\u9ed8\u8ba4\u7aef\u53e3\u3002<\/li>\n<li>\u5982\u679c\u6709\u591a\u4e2a\u7248\u672c\u7684MySQL\u6216\u5176\u4ed6\u4f7f\u75283306\u7aef\u53e3\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u8bf7\u786e\u4fdd\u53ea\u4fdd\u7559\u60a8\u9700\u8981\u4f7f\u7528\u7684\u7248\u672c\u6216\u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<li>\u4fee\u6539\u7aef\u53e3\u53f7\u540e\uff0c\u4efb\u4f55\u8fde\u63a5\u5230MySQL\u6570\u636e\u5e93\u7684\u5e94\u7528\u7a0b\u5e8f\u90fd\u5fc5\u987b\u4f7f\u7528\u65b0\u7aef\u53e3\u53f7\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f3306\u7aef\u53e3\u88ab\u5360\u7528\u600e\u4e48\u529e\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>phpstudy\u76843306\u7aef\u53e3\u88ab\u5360\u7528\u65f6\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u6b65\u9aa4\u89e3\u51b3\uff1a1. \u68c0\u67e5\u5176\u4ed6\u7a0b\u5e8f\u662f\u5426\u4f7f\u7528\u8be5\u7aef\u53e3\uff1b2. \u4fee\u6539phpstudy\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u7aef\u53e3\u53f7\uff1b3. \u91cd\u542fphpstudy\uff1b4. \u786e\u4fdd\u9632\u706b\u5899\u5141\u8bb8\u65b0\u7aef\u53e3\u7684\u4f20\u5165\u8fde\u63a5\uff1b5. \u5c1d\u8bd5\u91cd\u542f\u8ba1\u7b97\u673a\u6216\u91cd\u65b0\u5b89\u88c5phpstudy\u3002 3306\u7aef\u53e3\u88ab\u5360\u7528 \u95ee\u9898\uff1a\u5982\u679cphpstudy3306\u7aef\u53e3\u88ab\u5360\u7528\uff0c\u8be5\u600e\u4e48\u529e\uff1f \u89e3\u51b3\u65b9\u6848\uff1a 1. \u68c0\u67e5\u662f\u5426\u5176\u4ed6\u7a0b\u5e8f\u6b63\u5728\u4f7f\u7528\u8be5\u7aef\u53e3 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6253\u5f00\u4efb\u52a1\u7ba1\u7406\u5668\uff08Windows\uff09\u6216\u6d3b\u52a8\u76d1\u89c6\u5668\uff08macOS\uff09\u3002 \u5728\u201c\u8fdb\u7a0b\u201d\u6216\u201c\u6d3b\u52a8\u201d\u9009\u9879\u5361\u4e2d\uff0c\u67e5\u627e\u4f7f\u75283306\u7aef\u53e3\u7684\u7a0b\u5e8f\u3002 \u5982\u679c\u627e\u5230\uff0c\u7ed3\u675f\u8be5\u7a0b\u5e8f\u3002 2. \u4fee\u6539phpstudy\u914d\u7f6e\u6587\u4ef6 \u6253\u5f00phpstudy\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684\u201cphpstudy.ini\u201d\u6587\u4ef6\u3002 \u627e\u5230\u201c[MySQL]\u201d\u90e8\u5206\uff0c\u4fee\u6539\u4ee5\u4e0b\u884c\uff1a ;port = 3306 \u767b\u5f55\u540e\u590d\u5236 \u5c06\u7aef\u53e3\u53f7\u66f4\u6539\u4e3a\u53e6\u4e00\u4e2a\u53ef\u7528\u7684\u7aef\u53e3\uff0c\u4f8b\u59823307\u3002 3. \u91cd\u542fphpstudy \u91cd\u542fphpstudy\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\u3002 4. \u9632\u706b\u5899\u8bbe\u7f6e \u786e\u4fdd\u9632\u706b\u5899\u5141\u8bb83307\u7aef\u53e3\u7684\u4f20\u5165\u8fde\u63a5\u3002 5. \u5176\u4ed6\u6ce8\u610f\u4e8b\u9879 \u5982\u679c\u4e0a\u8ff0\u6b65\u9aa4\u65e0\u6548\uff0c\u8bf7\u5c1d\u8bd5\u4ee5\u4e0b\u64cd\u4f5c\uff1a \u91cd\u542f\u8ba1\u7b97\u673a\u3002 \u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5phpstudy\u3002 \u5907\u6ce8\uff1a 3306\u7aef\u53e3\u662fMySQL\u7684\u9ed8\u8ba4\u7aef\u53e3\u3002 \u5982\u679c\u6709\u591a\u4e2a\u7248\u672c\u7684MySQL\u6216\u5176\u4ed6\u4f7f\u75283306\u7aef\u53e3\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u8bf7\u786e\u4fdd\u53ea\u4fdd\u7559\u60a8\u9700\u8981\u4f7f\u7528\u7684\u7248\u672c\u6216\u5e94\u7528\u7a0b\u5e8f\u3002 \u4fee\u6539\u7aef\u53e3\u53f7\u540e\uff0c\u4efb\u4f55\u8fde\u63a5\u5230MySQL\u6570\u636e\u5e93\u7684\u5e94\u7528\u7a0b\u5e8f\u90fd\u5fc5\u987b\u4f7f\u7528\u65b0\u7aef\u53e3\u53f7\u3002 \u4ee5\u4e0a\u5c31\u662f3306\u7aef\u53e3\u88ab\u5360\u7528\u600e\u4e48\u529e\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-17849","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=17849"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17849\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=17849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=17849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=17849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}