{"id":5420,"date":"2024-11-14T12:21:44","date_gmt":"2024-11-14T04:21:44","guid":{"rendered":"https:\/\/fwq.ai\/blog\/5420\/"},"modified":"2024-11-14T12:21:44","modified_gmt":"2024-11-14T04:21:44","slug":"mysql%e5%81%9c%e6%ad%a2%e6%9c%8d%e5%8a%a1%e6%80%8e%e4%b9%88%e6%89%93%e5%bc%80","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/5420\/","title":{"rendered":"mysql\u505c\u6b62\u670d\u52a1\u600e\u4e48\u6253\u5f00"},"content":{"rendered":"<blockquote><p>\n  \u786e\u8ba4 mysql \u670d\u52a1\u5df2\u505c\u6b62\uff1b\u91cd\u542f\u670d\u52a1\u547d\u4ee4\uff1asudo systemctl start mysql\uff1b\u9a8c\u8bc1\u670d\u52a1\u662f\u5426\u5df2\u542f\u52a8\uff1b\u5982\u542f\u52a8\u5931\u8d25\uff0c\u68c0\u67e5 mysql \u5b89\u88c5\u3001\u914d\u7f6e\u6587\u4ef6\u548c\u65e5\u5fd7\u6587\u4ef6\uff0c\u6216\u5bfb\u6c42\u5b98\u65b9\u652f\u6301\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/28\/2024052812061995453.jpg\" class=\"aligncenter\" title=\"mysql\u505c\u6b62\u670d\u52a1\u600e\u4e48\u6253\u5f00\u63d2\u56fe\" alt=\"mysql\u505c\u6b62\u670d\u52a1\u600e\u4e48\u6253\u5f00\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u91cd\u542f MySQL \u670d\u52a1<\/strong><\/p>\n<p><strong>1. \u786e\u8ba4 MySQL \u670d\u52a1\u5df2\u505c\u6b62<\/strong><\/p>\n<ul>\n<li>\u901a\u8fc7\u547d\u4ee4 sudo systemctl status  \u68c0\u67e5\u670d\u52a1\u72b6\u6001\u3002<\/li>\n<\/ul>\n<p><strong>2. \u542f\u52a8 MySQL \u670d\u52a1<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528\u547d\u4ee4 sudo systemctl start mysql \u542f\u52a8\u670d\u52a1\u3002<\/li>\n<\/ul>\n<p><strong>3. \u9a8c\u8bc1 MySQL \u670d\u52a1\u662f\u5426\u5df2\u542f\u52a8<\/strong><\/p>\n<ul>\n<li>\u901a\u8fc7\u547d\u4ee4 sudo systemctl status mysql \u518d\u6b21\u68c0\u67e5\u670d\u52a1\u72b6\u6001\uff0c\u786e\u8ba4\u670d\u52a1\u5df2\u542f\u52a8\u3002<\/li>\n<\/ul>\n<p><strong>4. \u8fdb\u4e00\u6b65\u7591\u96be\u89e3\u7b54<\/strong><\/p>\n<ul>\n<li>\n<p>\u5982\u679c\u542f\u52a8\u670d\u52a1\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<ul>\n<li>\u786e\u4fdd MySQL \u6570\u636e\u5e93\u5df2\u6b63\u786e\u5b89\u88c5\u3002<\/li>\n<li>\u68c0\u67e5 MySQL \u914d\u7f6e\u6587\u4ef6\u662f\u5426\u5b58\u5728\u9519\u8bef\u3002<\/li>\n<li>\u67e5\u770b MySQL \u65e5\u5fd7\u6587\u4ef6\u4ee5\u83b7\u53d6\u5177\u4f53\u9519\u8bef\u4fe1\u606f\u3002<\/li>\n<li>\u54a8\u8be2 MySQL \u5b98\u65b9\u6587\u6863\u6216\u793e\u533a\u8bba\u575b\u4ee5\u83b7\u5f97\u8fdb\u4e00\u6b65\u652f\u6301\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u505c\u6b62\u670d\u52a1\u600e\u4e48\u6253\u5f00\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>\u786e\u8ba4 mysql \u670d\u52a1\u5df2\u505c\u6b62\uff1b\u91cd\u542f\u670d\u52a1\u547d\u4ee4\uff1asudo systemctl start mysql\uff1b\u9a8c\u8bc1\u670d\u52a1\u662f\u5426\u5df2\u542f\u52a8\uff1b\u5982\u542f\u52a8\u5931\u8d25\uff0c\u68c0\u67e5 mysql \u5b89\u88c5\u3001\u914d\u7f6e\u6587\u4ef6\u548c\u65e5\u5fd7\u6587\u4ef6\uff0c\u6216\u5bfb\u6c42\u5b98\u65b9\u652f\u6301\u3002 \u5982\u4f55\u91cd\u542f MySQL \u670d\u52a1 1. \u786e\u8ba4 MySQL \u670d\u52a1\u5df2\u505c\u6b62 \u901a\u8fc7\u547d\u4ee4 sudo systemctl status \u68c0\u67e5\u670d\u52a1\u72b6\u6001\u3002 2. \u542f\u52a8 MySQL \u670d\u52a1 \u4f7f\u7528\u547d\u4ee4 sudo systemctl start mysql \u542f\u52a8\u670d\u52a1\u3002 3. \u9a8c\u8bc1 MySQL \u670d\u52a1\u662f\u5426\u5df2\u542f\u52a8 \u901a\u8fc7\u547d\u4ee4 sudo systemctl status mysql \u518d\u6b21\u68c0\u67e5\u670d\u52a1\u72b6\u6001\uff0c\u786e\u8ba4\u670d\u52a1\u5df2\u542f\u52a8\u3002 4. \u8fdb\u4e00\u6b65\u7591\u96be\u89e3\u7b54 \u5982\u679c\u542f\u52a8\u670d\u52a1\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u4ee5\u4e0b\u5185\u5bb9\uff1a \u786e\u4fdd MySQL \u6570\u636e\u5e93\u5df2\u6b63\u786e\u5b89\u88c5\u3002 \u68c0\u67e5 MySQL \u914d\u7f6e\u6587\u4ef6\u662f\u5426\u5b58\u5728\u9519\u8bef\u3002 \u67e5\u770b MySQL \u65e5\u5fd7\u6587\u4ef6\u4ee5\u83b7\u53d6\u5177\u4f53\u9519\u8bef\u4fe1\u606f\u3002 \u54a8\u8be2 MySQL \u5b98\u65b9\u6587\u6863\u6216\u793e\u533a\u8bba\u575b\u4ee5\u83b7\u5f97\u8fdb\u4e00\u6b65\u652f\u6301\u3002 [&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-5420","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5420","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=5420"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5420\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=5420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=5420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=5420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}