{"id":17839,"date":"2024-11-18T12:04:38","date_gmt":"2024-11-18T04:04:38","guid":{"rendered":"https:\/\/fwq.ai\/blog\/17839\/"},"modified":"2024-11-18T12:04:38","modified_gmt":"2024-11-18T04:04:38","slug":"phpstudy%e6%95%b0%e6%8d%ae%e5%ba%93%e6%96%87%e4%bb%b6%e5%9c%a8%e5%93%aa","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/17839\/","title":{"rendered":"phpstudy\u6570\u636e\u5e93\u6587\u4ef6\u5728\u54ea"},"content":{"rendered":"<blockquote><p>\n  phpstudy \u6570\u636e\u5e93\u6587\u4ef6\u4fdd\u5b58\u4e8e\u4ee5\u4e0b\u4f4d\u7f6e\uff1awindows \u7cfb\u7edf\uff1ac:program files (x86)phpstudyextensionsmysql5.7datamacos \u7cfb\u7edf\uff1a\/applications\/phpstudy.app\/contents\/resources\/extensions\/mysql5.7\/data\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040214271648433.jpg\" class=\"aligncenter\" title=\"phpstudy\u6570\u636e\u5e93\u6587\u4ef6\u5728\u54ea\u63d2\u56fe\" alt=\"phpstudy\u6570\u636e\u5e93\u6587\u4ef6\u5728\u54ea\u63d2\u56fe\" \/><\/p>\n<p><strong>PHPstudy \u6570\u636e\u5e93\u6587\u4ef6\u4fdd\u5b58\u4f4d\u7f6e<\/strong><\/p>\n<p>PHPstudy \u662f\u4e00\u4e2a\u96c6\u6210\u4e86 PHP \u8fd0\u884c\u73af\u5883\u7684\u5f00\u53d1\u5de5\u5177\u5305\uff0c\u5176\u4e2d\u5305\u542b\u4e86 MySQL \u6570\u636e\u5e93\u3002MySQL \u6570\u636e\u5e93\u6587\u4ef6\u901a\u5e38\u4fdd\u5b58\u5728\u4ee5\u4e0b\u4f4d\u7f6e\uff1a<\/p>\n<p><strong>Windows \u7cfb\u7edf\uff1a<\/strong><\/p>\n<ul>\n<li>C:Program Files (x86)PHPStudyExtensionsMySQL5.7data<\/li>\n<\/ul>\n<p><strong>macOS \u7cfb\u7edf\uff1a<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\/Applications\/PHPStudy.app\/Contents\/Resources\/Extensions\/MySQL5.7\/data<\/li>\n<\/ul>\n<p>\u8be5\u76ee\u5f55\u4e2d\u5305\u542b\u4e86 MySQL \u6570\u636e\u5e93\u7684\u6240\u6709\u6570\u636e\u6587\u4ef6\uff0c\u5305\u62ec\uff1a<\/p>\n<ul>\n<li> <strong>ibdata1\uff1a<\/strong> \u5b58\u50a8\u6240\u6709\u6570\u636e\u5e93\u548c\u8868\u7684 InnoDB \u6570\u636e<\/li>\n<li> <strong>ib_logfile*\uff1a<\/strong> InnoDB \u4e8b\u52a1\u65e5\u5fd7\u6587\u4ef6<\/li>\n<li> <strong>.frm\uff1a<\/strong> \u8868\u7ed3\u6784\u5b9a\u4e49\u6587\u4ef6<\/li>\n<li> <strong>.ibd\uff1a<\/strong> InnoDB \u8868\u6570\u636e\u6587\u4ef6<\/li>\n<\/ul>\n<p><strong>\u6ce8\u610f\uff1a<\/strong><\/p>\n<p>\u4e0a\u8ff0\u4f4d\u7f6e\u662f MySQL \u6570\u636e\u5e93\u6587\u4ef6\u7684\u9ed8\u8ba4\u4fdd\u5b58\u4f4d\u7f6e\uff0c\u4f46\u60a8\u53ef\u4ee5\u5728 PHPstudy \u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u4fee\u6539\u6b64\u4f4d\u7f6e\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u6570\u636e\u5e93\u6587\u4ef6\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>phpstudy \u6570\u636e\u5e93\u6587\u4ef6\u4fdd\u5b58\u4e8e\u4ee5\u4e0b\u4f4d\u7f6e\uff1awindows \u7cfb\u7edf\uff1ac:program files (x86)phpstudyextensionsmysql5.7datamacos \u7cfb\u7edf\uff1a\/applications\/phpstudy.app\/contents\/resources\/extensions\/mysql5.7\/data PHPstudy \u6570\u636e\u5e93\u6587\u4ef6\u4fdd\u5b58\u4f4d\u7f6e PHPstudy \u662f\u4e00\u4e2a\u96c6\u6210\u4e86 PHP \u8fd0\u884c\u73af\u5883\u7684\u5f00\u53d1\u5de5\u5177\u5305\uff0c\u5176\u4e2d\u5305\u542b\u4e86 MySQL \u6570\u636e\u5e93\u3002MySQL \u6570\u636e\u5e93\u6587\u4ef6\u901a\u5e38\u4fdd\u5b58\u5728\u4ee5\u4e0b\u4f4d\u7f6e\uff1a Windows \u7cfb\u7edf\uff1a C:Program Files (x86)PHPStudyExtensionsMySQL5.7data macOS \u7cfb\u7edf\uff1a \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \/Applications\/PHPStudy.app\/Contents\/Resources\/Extensions\/MySQL5.7\/data \u8be5\u76ee\u5f55\u4e2d\u5305\u542b\u4e86 MySQL \u6570\u636e\u5e93\u7684\u6240\u6709\u6570\u636e\u6587\u4ef6\uff0c\u5305\u62ec\uff1a ibdata1\uff1a \u5b58\u50a8\u6240\u6709\u6570\u636e\u5e93\u548c\u8868\u7684 InnoDB \u6570\u636e ib_logfile*\uff1a InnoDB \u4e8b\u52a1\u65e5\u5fd7\u6587\u4ef6 .frm\uff1a \u8868\u7ed3\u6784\u5b9a\u4e49\u6587\u4ef6 .ibd\uff1a InnoDB \u8868\u6570\u636e\u6587\u4ef6 \u6ce8\u610f\uff1a \u4e0a\u8ff0\u4f4d\u7f6e\u662f MySQL \u6570\u636e\u5e93\u6587\u4ef6\u7684\u9ed8\u8ba4\u4fdd\u5b58\u4f4d\u7f6e\uff0c\u4f46\u60a8\u53ef\u4ee5\u5728 PHPstudy \u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u4fee\u6539\u6b64\u4f4d\u7f6e\u3002 \u4ee5\u4e0a\u5c31\u662f\u6570\u636e\u5e93\u6587\u4ef6\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},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-17839","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17839","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=17839"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17839\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=17839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=17839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=17839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}