{"id":6263,"date":"2024-11-14T13:51:14","date_gmt":"2024-11-14T05:51:14","guid":{"rendered":"https:\/\/fwq.ai\/blog\/6263\/"},"modified":"2024-11-14T13:51:14","modified_gmt":"2024-11-14T05:51:14","slug":"mysql%e6%80%8e%e4%b9%88%e6%89%93%e5%bc%80","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/6263\/","title":{"rendered":"mysql\u600e\u4e48\u6253\u5f00"},"content":{"rendered":"<p>\u600e\u4e48\u6253\u5f00\uff1f\u8fd9\u662f\u4e0d\u5c11\u7f51\u53cb\u90fd\u5173\u6ce8\u7684\u95ee\u9898\uff0c\u63a5\u4e0b\u6765\u7531php\u5c0f\u7f16\u4e3a\u5927\u5bb6\u5e26\u6765<strong>mysql\u6253\u5f00\u6559\u7a0b<\/strong>\uff0c\u611f\u5174\u8da3\u7684\u7f51\u53cb\u4e00\u8d77\u968f\u5c0f\u7f16\u6765\u77a7\u77a7\u5427\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202406\/18\/2024061813264486916.jpg\" class=\"aligncenter\" title=\"mysql\u600e\u4e48\u6253\u5f00\u63d2\u56fe\" alt=\"mysql\u600e\u4e48\u6253\u5f00\u63d2\u56fe\" \/><\/p>\n<h3>mysql\u6253\u5f00\u6559\u7a0b<\/h3>\n<p>1\u3001\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86MySQL\u6570\u636e\u5e93\u8f6f\u4ef6\uff0c\u6253\u5f00\u547d\u4ee4\u884c\u754c\u9762\u6216\u8005\u7ec8\u7aef\u7a97\u53e3\uff0c\u5e76\u8f93\u5165\u9002\u5f53\u7684\u547d\u4ee4\u4ee5\u542f\u52a8MySQL\u670d\u52a1\u3002<\/p>\n<p>2\u3001\u53ef\u7528\u7684\u547d\u4ee4\u5305\u62ecmysql start\u6216\u8005\/etc\/init.d\/mysql start\uff0c\u8fd9\u53d6\u51b3\u4e8e\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u548cMySQL\u7684\u5b89\u88c5\u65b9\u5f0f\u3002<\/p>\n<p>3\u3001\u786e\u4fddMySQL\u670d\u52a1\u5df2\u7ecf\u6210\u529f\u542f\u52a8\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884cmysqladmin status\u6216\u8005service mysql status\u6765\u68c0\u67e5\u3002<\/p>\n<p>4\u3001\u5982\u679cMySQL\u670d\u52a1\u672a\u80fd\u542f\u52a8\uff0c\u53ef\u4ee5\u67e5\u9605\u76f8\u5173\u7684\u9519\u8bef\u65e5\u5fd7\u6587\u4ef6\u4ee5\u4e86\u89e3\u5177\u4f53\u539f\u56e0\u3002<\/p>\n<p>5\u3001\u6700\u540e\uff0c\u4e00\u65e6MySQL\u670d\u52a1\u5df2\u7ecf\u6210\u529f\u542f\u52a8\uff0c\u4fbf\u53ef\u4ee5\u901a\u8fc7\u76f8\u5e94\u7684\u5ba2\u6237\u7aef\u5de5\u5177\u8fde\u63a5\u5230MySQL\u6570\u636e\u5e93\uff0c\u5e76\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\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>\u600e\u4e48\u6253\u5f00\uff1f\u8fd9\u662f\u4e0d\u5c11\u7f51\u53cb\u90fd\u5173\u6ce8\u7684\u95ee\u9898\uff0c\u63a5\u4e0b\u6765\u7531php\u5c0f\u7f16\u4e3a\u5927\u5bb6\u5e26\u6765mysql\u6253\u5f00\u6559\u7a0b\uff0c\u611f\u5174\u8da3\u7684\u7f51\u53cb\u4e00\u8d77\u968f\u5c0f\u7f16\u6765\u77a7\u77a7\u5427\uff01 mysql\u6253\u5f00\u6559\u7a0b 1\u3001\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86MySQL\u6570\u636e\u5e93\u8f6f\u4ef6\uff0c\u6253\u5f00\u547d\u4ee4\u884c\u754c\u9762\u6216\u8005\u7ec8\u7aef\u7a97\u53e3\uff0c\u5e76\u8f93\u5165\u9002\u5f53\u7684\u547d\u4ee4\u4ee5\u542f\u52a8MySQL\u670d\u52a1\u3002 2\u3001\u53ef\u7528\u7684\u547d\u4ee4\u5305\u62ecmysql start\u6216\u8005\/etc\/init.d\/mysql start\uff0c\u8fd9\u53d6\u51b3\u4e8e\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u548cMySQL\u7684\u5b89\u88c5\u65b9\u5f0f\u3002 3\u3001\u786e\u4fddMySQL\u670d\u52a1\u5df2\u7ecf\u6210\u529f\u542f\u52a8\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884cmysqladmin status\u6216\u8005service mysql status\u6765\u68c0\u67e5\u3002 4\u3001\u5982\u679cMySQL\u670d\u52a1\u672a\u80fd\u542f\u52a8\uff0c\u53ef\u4ee5\u67e5\u9605\u76f8\u5173\u7684\u9519\u8bef\u65e5\u5fd7\u6587\u4ef6\u4ee5\u4e86\u89e3\u5177\u4f53\u539f\u56e0\u3002 5\u3001\u6700\u540e\uff0c\u4e00\u65e6MySQL\u670d\u52a1\u5df2\u7ecf\u6210\u529f\u542f\u52a8\uff0c\u4fbf\u53ef\u4ee5\u901a\u8fc7\u76f8\u5e94\u7684\u5ba2\u6237\u7aef\u5de5\u5177\u8fde\u63a5\u5230MySQL\u6570\u636e\u5e93\uff0c\u5e76\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002 \u4ee5\u4e0a\u5c31\u662f\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},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-6263","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/6263","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=6263"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/6263\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=6263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=6263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=6263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}