{"id":5266,"date":"2024-11-14T10:01:03","date_gmt":"2024-11-14T02:01:03","guid":{"rendered":"https:\/\/fwq.ai\/blog\/5266\/"},"modified":"2024-11-14T10:01:03","modified_gmt":"2024-11-14T02:01:03","slug":"%e6%80%8e%e4%b9%88%e8%bf%9b%e5%85%a5mysql%e5%90%8e%e5%8f%b0","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/5266\/","title":{"rendered":"\u600e\u4e48\u8fdb\u5165mysql\u540e\u53f0"},"content":{"rendered":"<blockquote><p>\n  \u8981\u8fdb\u5165 mysql \u540e\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u4f7f\u7528 mysql \u5ba2\u6237\u7aef\u6216 phpmyadmin \u7b49\u5ba2\u6237\u7aef\u5de5\u5177\u3002\u5bf9\u4e8e mysql \u5ba2\u6237\u7aef\uff0c\u8fd0\u884c\u547d\u4ee4\uff1amysql -u \u7528\u6237\u540d -p\uff0c\u5e76\u8f93\u5165\u5bc6\u7801\u8fde\u63a5\u3002\u5bf9\u4e8e phpmyadmin\uff0c\u8bbf\u95ee\u5176 url\uff0c\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u5f55\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/26\/2024052618010123951.jpg\" class=\"aligncenter\" title=\"\u600e\u4e48\u8fdb\u5165mysql\u540e\u53f0\u63d2\u56fe\" alt=\"\u600e\u4e48\u8fdb\u5165mysql\u540e\u53f0\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u8fdb\u5165 MySQL \u540e\u53f0<\/strong><\/p>\n<p>\u8981\u8fdb\u5165 MySQL \u540e\u53f0\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u4e00\u79cd\u5ba2\u6237\u7aef\u5de5\u5177\uff0c\u4f8b\u5982 MySQL \u5ba2\u6237\u7aef\u6216 phpMyAdmin\u3002<\/p>\n<p><strong>\u4f7f\u7528 MySQL \u5ba2\u6237\u7aef<\/strong><\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u3002<\/li>\n<li>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<\/ol>\n<pre>mysql -u \u7528\u6237\u540d -p<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5176\u4e2d\uff1a<\/p>\n<ul>\n<li>\u7528\u6237\u540d \u662f\u60a8 MySQL \u7528\u6237\u540d\u3002<\/li>\n<li>-p \u8868\u793a\u60a8\u9700\u8981\u8f93\u5165\u5bc6\u7801\u3002<\/li>\n<\/ul>\n<ol>\n<li>\u8f93\u5165\u5bc6\u7801\u5e76\u6309 Enter \u952e\u3002<\/li>\n<li>\u60a8\u73b0\u5728\u5df2\u8fde\u63a5\u5230 MySQL \u540e\u53f0\u3002<\/li>\n<\/ol>\n<p><strong>\u4f7f\u7528 phpMyAdmin<\/strong><\/p>\n<ol>\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee phpMyAdmin \u7684 URL\u3002\u8be5 URL \u901a\u5e38\u7c7b\u4f3c\u4e8e\uff1a<\/li>\n<\/ol>\n<pre>http:\/\/localhost\/phpmyadmin\/<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ol>\n<li>\u8f93\u5165\u60a8\u7684 MySQL \u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/li>\n<li>\u5355\u51fb\u201c\u767b\u5f55\u201d\u6309\u94ae\u3002<\/li>\n<li>\u60a8\u73b0\u5728\u5df2\u8fdb\u5165 phpMyAdmin \u540e\u53f0\uff0c\u60a8\u53ef\u4ee5\u7ba1\u7406\u60a8\u7684 MySQL \u6570\u636e\u5e93\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8fdb\u5165\u540e\u53f0\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u7f51\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u8fdb\u5165 mysql \u540e\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u4f7f\u7528 mysql \u5ba2\u6237\u7aef\u6216 phpmyadmin \u7b49\u5ba2\u6237\u7aef\u5de5\u5177\u3002\u5bf9\u4e8e mysql \u5ba2\u6237\u7aef\uff0c\u8fd0\u884c\u547d\u4ee4\uff1amysql -u \u7528\u6237\u540d -p\uff0c\u5e76\u8f93\u5165\u5bc6\u7801\u8fde\u63a5\u3002\u5bf9\u4e8e phpmyadmin\uff0c\u8bbf\u95ee\u5176 url\uff0c\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u5f55\u3002 \u5982\u4f55\u8fdb\u5165 MySQL \u540e\u53f0 \u8981\u8fdb\u5165 MySQL \u540e\u53f0\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u4e00\u79cd\u5ba2\u6237\u7aef\u5de5\u5177\uff0c\u4f8b\u5982 MySQL \u5ba2\u6237\u7aef\u6216 phpMyAdmin\u3002 \u4f7f\u7528 MySQL \u5ba2\u6237\u7aef \u6253\u5f00\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u3002 \u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a mysql -u \u7528\u6237\u540d -p \u767b\u5f55\u540e\u590d\u5236 \u5176\u4e2d\uff1a \u7528\u6237\u540d \u662f\u60a8 MySQL \u7528\u6237\u540d\u3002 -p \u8868\u793a\u60a8\u9700\u8981\u8f93\u5165\u5bc6\u7801\u3002 \u8f93\u5165\u5bc6\u7801\u5e76\u6309 Enter \u952e\u3002 \u60a8\u73b0\u5728\u5df2\u8fde\u63a5\u5230 MySQL \u540e\u53f0\u3002 \u4f7f\u7528 phpMyAdmin \u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee phpMyAdmin \u7684 URL\u3002\u8be5 URL \u901a\u5e38\u7c7b\u4f3c\u4e8e\uff1a http:\/\/localhost\/phpmyadmin\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-5266","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5266","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=5266"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5266\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=5266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=5266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=5266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}