{"id":17847,"date":"2024-11-18T09:06:29","date_gmt":"2024-11-18T01:06:29","guid":{"rendered":"https:\/\/fwq.ai\/blog\/17847\/"},"modified":"2024-11-18T09:06:29","modified_gmt":"2024-11-18T01:06:29","slug":"phpstudy%e7%9a%84%e6%95%b0%e6%8d%ae%e5%ba%93%e5%9c%a8%e5%93%aa","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/17847\/","title":{"rendered":"phpstudy\u7684\u6570\u636e\u5e93\u5728\u54ea"},"content":{"rendered":"<blockquote><p>\n  mysql \u6570\u636e\u5e93\u9ed8\u8ba4\u5b89\u88c5\u5728 c:program files (x86)phpstudyextensionsmysql5.7\uff0c\u5305\u542b bin\u3001data\u3001logs \u548c support-files \u5b50\u76ee\u5f55\u3002\u53ef\u901a\u8fc7 phpstudy \u63a7\u5236\u9762\u677f\u4f7f\u7528 &#8220;root&#8221; \u7528\u6237\u540d\u548c\u5bc6\u7801\u8fde\u63a5\u6570\u636e\u5e93\uff0c\u5e76\u4f7f\u7528 mysql \u547d\u4ee4\u884c\u5de5\u5177\u6216\u7b2c\u4e09\u65b9 gui \u5ba2\u6237\u7aef\u8fdb\u884c\u7ba1\u7406\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040214571224946.jpg\" class=\"aligncenter\" title=\"phpstudy\u7684\u6570\u636e\u5e93\u5728\u54ea\u63d2\u56fe\" alt=\"phpstudy\u7684\u6570\u636e\u5e93\u5728\u54ea\u63d2\u56fe\" \/><\/p>\n<p><strong>PHPstudy \u6570\u636e\u5e93\u4f4d\u7f6e<\/strong><\/p>\n<p>PHPstudy \u9ed8\u8ba4\u5c06 MySQL \u6570\u636e\u5e93\u5b89\u88c5\u5728\u4ee5\u4e0b\u76ee\u5f55\uff1a<\/p>\n<pre>C:Program Files (x86)PHPStudyExtensionsMySQL5.7<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6b64\u76ee\u5f55\u5305\u542b\u4ee5\u4e0b\u5b50\u76ee\u5f55\uff1a<\/p>\n<ul>\n<li> <strong>bin\uff1a<\/strong>\u5305\u542b MySQL \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5982 mysqld.exe \u548c mysql.exe\u3002<\/li>\n<li> <strong>data\uff1a<\/strong>\u5b58\u50a8 MySQL \u6570\u636e\u5e93\u6587\u4ef6\uff0c\u5982 ibdata1\u3001ib_logfile0 \u548c ib_logfile1\u3002<\/li>\n<li> <strong>logs\uff1a<\/strong>\u5305\u542b MySQL \u9519\u8bef\u65e5\u5fd7\u548c\u67e5\u8be2\u65e5\u5fd7\u3002<\/li>\n<li> <strong>support-files\uff1a<\/strong>\u5305\u542b MySQL \u652f\u6301\u6587\u4ef6\uff0c\u5982 my.ini \u914d\u7f6e\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p><strong>\u5982\u4f55\u8bbf\u95ee MySQL \u6570\u636e\u5e93<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p>\u8981\u8bbf\u95ee MySQL \u6570\u636e\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u6253\u5f00 PHPstudy \u63a7\u5236\u9762\u677f\u3002<\/li>\n<li>\u5355\u51fb &#8220;MySQL&#8221; \u9009\u9879\u5361\u3002<\/li>\n<li>\u627e\u5230 &#8220;root&#8221; \u7528\u6237\u540d\u548c\u5bc6\u7801\uff08\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5747\u4e3a &#8220;root&#8221;\uff09\u3002<\/li>\n<li>\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u7136\u540e\u5355\u51fb &#8220;\u8fde\u63a5&#8221; \u6309\u94ae\u3002<\/li>\n<\/ol>\n<p>\u8fde\u63a5\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 MySQL \u547d\u4ee4\u884c\u5de5\u5177\uff08\u5982 mysql.exe\uff09\u6216\u7b2c\u4e09\u65b9 GUI \u5ba2\u6237\u7aef\uff08\u5982 MySQL Workbench\uff09\u6765\u7ba1\u7406\u60a8\u7684\u6570\u636e\u5e93\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u7684\u6570\u636e\u5e93\u5728\u54ea\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>mysql \u6570\u636e\u5e93\u9ed8\u8ba4\u5b89\u88c5\u5728 c:program files (x86)phpstudyextensionsmysql5.7\uff0c\u5305\u542b bin\u3001data\u3001logs \u548c support-files \u5b50\u76ee\u5f55\u3002\u53ef\u901a\u8fc7 phpstudy \u63a7\u5236\u9762\u677f\u4f7f\u7528 &#8220;root&#8221; \u7528\u6237\u540d\u548c\u5bc6\u7801\u8fde\u63a5\u6570\u636e\u5e93\uff0c\u5e76\u4f7f\u7528 mysql \u547d\u4ee4\u884c\u5de5\u5177\u6216\u7b2c\u4e09\u65b9 gui \u5ba2\u6237\u7aef\u8fdb\u884c\u7ba1\u7406\u3002 PHPstudy \u6570\u636e\u5e93\u4f4d\u7f6e PHPstudy \u9ed8\u8ba4\u5c06 MySQL \u6570\u636e\u5e93\u5b89\u88c5\u5728\u4ee5\u4e0b\u76ee\u5f55\uff1a C:Program Files (x86)PHPStudyExtensionsMySQL5.7 \u767b\u5f55\u540e\u590d\u5236 \u6b64\u76ee\u5f55\u5305\u542b\u4ee5\u4e0b\u5b50\u76ee\u5f55\uff1a bin\uff1a\u5305\u542b MySQL \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5982 mysqld.exe \u548c mysql.exe\u3002 data\uff1a\u5b58\u50a8 MySQL \u6570\u636e\u5e93\u6587\u4ef6\uff0c\u5982 ibdata1\u3001ib_logfile0 \u548c ib_logfile1\u3002 logs\uff1a\u5305\u542b MySQL \u9519\u8bef\u65e5\u5fd7\u548c\u67e5\u8be2\u65e5\u5fd7\u3002 support-files\uff1a\u5305\u542b MySQL \u652f\u6301\u6587\u4ef6\uff0c\u5982 my.ini \u914d\u7f6e\u6587\u4ef6\u3002 \u5982\u4f55\u8bbf\u95ee MySQL \u6570\u636e\u5e93 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u8981\u8bbf\u95ee MySQL \u6570\u636e\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a [&hellip;]<\/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-17847","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17847","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=17847"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17847\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=17847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=17847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=17847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}