{"id":184569,"date":"2023-06-11T17:38:45","date_gmt":"2023-06-11T09:38:45","guid":{"rendered":"http:\/\/www.idc.net\/help\/184569\/"},"modified":"2023-06-11T17:38:45","modified_gmt":"2023-06-11T09:38:45","slug":"%e5%90%8e%e6%b5%aa%e4%ba%91%e6%95%b0%e6%8d%ae%e5%ba%93%e6%95%99%e7%a8%8b%ef%bc%9amysql%e5%85%8d%e5%ae%89%e8%a3%85%e7%89%88%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/184569\/","title":{"rendered":"\u540e\u6d6a\u4e91\u6570\u636e\u5e93\u6559\u7a0b\uff1aMySQL\u514d\u5b89\u88c5\u7248\u914d\u7f6e\u6559\u7a0b"},"content":{"rendered":"<p>\u914d\u7f6e\u514d\u5b89\u88c5\u7248 MySQL \u7684\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a<br \/>\n<br \/> &nbsp; <\/p>\n<p> &nbsp;<\/p>\n<p> \u6b65\u9aa4 1)\uff1a\u5c06 MySQL \u514d\u5b89\u88c5\u538b\u7f29\u6587\u4ef6\u89e3\u538b\u5230\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u5982 D\uff1a\\mysql-5.7.20-winx64\\\uff0c\u5982\u56fe\u6240\u793a\u3002<br \/>\n<br \/> &nbsp; <\/p>\n<p> &nbsp;<\/p>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222131514593.gif\" class=\"aligncenter\"><br \/> &nbsp;<\/p>\n<p> \u6b65\u9aa4 2)\uff1a\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u5728\u7cfb\u7edf\u53d8\u91cf path \u540e\u9762\u8ffd\u52a0 D\uff1a\\mysql-5.7.20-winx64\\bin\uff0c\u5982\u56fe\u6240\u793a\u3002<br \/>\n<br \/> &nbsp; <\/p>\n<p> &nbsp;<\/p>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222131602J3.gif\" class=\"aligncenter\"><br \/> &nbsp;<\/p>\n<p> \u6b65\u9aa4 3)\uff1a\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\uff0c\u547d\u540d\u4e3a my.ini\uff0c\u7f16\u8f91 my.ini \u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u5982\u56fe\u6240\u793a\u3002 <\/p>\n<pre>\r\nbasedir = D:\\mysql-5.7.20-winx64\\\r\ndatadir = D:\\mysql-5.7.20-winx64\\data\r\nport =3306<\/pre>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222131IN50.gif\" class=\"aligncenter\"><br \/> &nbsp;<\/p>\n<p> \u6b65\u9aa4 4)\uff1a\u5b89\u88c5 MySQL \u670d\u52a1\uff0c\u6267\u884c\u547d\u4ee4\u4e3a mysqld\u2013install\uff0c\u5982\u56fe\u6240\u793a\u3002<br \/>\n<br \/> &nbsp; <\/p>\n<p> &nbsp;<\/p>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222131U0K9.gif\" class=\"aligncenter\"><br \/> &nbsp;<\/p>\n<p> \u6b65\u9aa4 5)\uff1a\u6267\u884c MySQL \u521d\u59cb\u5316\u547d\u4ee4\uff0c\u5728 MySQL \u76ee\u5f55\u4e0b\u751f\u6210 data \u6587\u4ef6\u5939\uff0c\u5982\u56fe\u6240\u793a\u3002<br \/>\n<br \/> &nbsp; <\/p>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222132035422.gif\" class=\"aligncenter\"><br \/> &nbsp;<\/p>\n<p> \u6b65\u9aa4 6)\uff1a\u542f\u52a8 MySQL \u670d\u52a1\uff0c\u5e76\u4f7f\u7528\u7528\u6237 root \u767b\u5f55\uff0c\u540c\u65f6\u8bbe\u7f6e\u767b\u5f55\u5bc6\u7801\uff0c\u5982\u56fe\u6240\u793a\u3002<br \/>\n<br \/> &nbsp; <\/p>\n<p> &nbsp;<\/p>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222132132536.gif\" class=\"aligncenter\"><br \/> &nbsp;<\/p>\n<p> \u6b65\u9aa4 7)\uff1a\u767b\u5f55\u540e\u8fdb\u5165 MySQL \u6570\u636e\u5e93\u521d\u59cb\u754c\u9762\uff0c\u8f93\u5165\u7b80\u5355\u7684\u547d\u4ee4\u6d4b\u8bd5 MySQL \u662f\u5426\u90e8\u7f72\u6210\u529f\uff0c\u5982\u56fe\u6240\u793a\u3002<br \/>\n<br \/> &nbsp; <\/p>\n<p> &nbsp;<\/p>\n<p style=\"text-align: center\"> <img decoding=\"async\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/190222\/4-1Z222132231Z2.gif\" class=\"aligncenter\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u914d\u7f6e\u514d\u5b89\u88c5\u7248 MySQL \u7684\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a &nbsp; &nbsp; \u6b65\u9aa4 1)\uff1a\u5c06 MySQL \u514d\u5b89\u88c5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":184570,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7038],"tags":[],"class_list":["post-184569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/184569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=184569"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/184569\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/184570"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=184569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=184569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=184569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}