{"id":5140,"date":"2024-11-14T09:13:00","date_gmt":"2024-11-14T01:13:00","guid":{"rendered":"https:\/\/fwq.ai\/blog\/5140\/"},"modified":"2024-11-14T09:13:00","modified_gmt":"2024-11-14T01:13:00","slug":"mysql%e6%80%8e%e4%b9%88%e6%9f%a5%e7%9c%8b%e7%89%88%e6%9c%ac%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/5140\/","title":{"rendered":"mysql\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f"},"content":{"rendered":"<p><strong>\u5982\u4f55\u67e5\u770b  \u7248\u672c\u4fe1\u606f<\/strong><\/p>\n<p>\u5728\u4f7f\u7528 MySQL \u6570\u636e\u5e93\u65f6\uff0c\u4e86\u89e3\u5176\u7248\u672c\u4fe1\u606f\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u8fd9\u6709\u52a9\u4e8e\u786e\u5b9a\u517c\u5bb9\u6027\u3001\u7279\u6027\u548c\u5df2\u77e5\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u67e5\u770b MySQL \u7248\u672c\uff1a<\/p>\n<p><strong>\u547d\u4ee4\u884c<\/strong><\/p>\n<p>\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre>mysql --version<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u663e\u793a MySQL \u7248\u672c\u548c\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\u3002<\/p>\n<p><strong>MySQL Shell<\/strong><\/p>\n<p>\u5728 MySQL Shell \u4e2d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre>SELECT version();<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>MySQL Workbench<\/strong><\/p>\n<p>\u5728 MySQL Workbench \u4e2d\uff0c\u5355\u51fb\u201c\u6570\u636e\u5e93\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201c\u5173\u4e8e MySQL Workbench\u201d\u3002\u5c06\u663e\u793a\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5176\u4ed6\u65b9\u6cd5<\/strong><\/p>\n<ul>\n<li> <strong>Windows:<\/strong> \u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d\u5e76\u5bfc\u822a\u81f3\u201c\u7a0b\u5e8f\u548c\u529f\u80fd\u201d\u3002\u67e5\u627e MySQL \u5e76\u67e5\u770b\u5176\u7248\u672c\u3002<\/li>\n<li> <strong>macOS:<\/strong> \u5728\u201c\u7ec8\u7aef\u201d\u4e2d\u8f93\u5165\u547d\u4ee4\uff1a\u201c\/usr\/local\/bin\/mysql &#8211;version\u201d\u3002<\/li>\n<li> <strong>Linux:<\/strong> \u5728\u201c\u7ec8\u7aef\u201d\u4e2d\u8f93\u5165\u547d\u4ee4\uff1a\u201cmysql &#8211;version\u201d\u3002<\/li>\n<\/ul>\n<p><strong>\u7248\u672c\u53f7\u89e3\u91ca<\/strong><\/p>\n<p>MySQL \u7248\u672c\u53f7\u91c7\u7528\uff1amajor.minor.patch \u7684\u683c\u5f0f\u3002<\/p>\n<ul>\n<li> <strong>Major:<\/strong> \u4e3b\u8981\u7248\u672c\u53f7\u8868\u793a\u91cd\u5927\u66f4\u6539\u3002<\/li>\n<li> <strong>Minor:<\/strong> \u6b21\u8981\u7248\u672c\u53f7\u8868\u793a\u65b0\u7279\u6027\u548c\u529f\u80fd\u3002<\/li>\n<li> <strong>Patch:<\/strong> \u4fee\u8865\u7248\u672c\u53f7\u8868\u793a\u9519\u8bef\u4fee\u590d\u548c\u5b89\u5168\u66f4\u65b0\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f\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>\u5982\u4f55\u67e5\u770b \u7248\u672c\u4fe1\u606f \u5728\u4f7f\u7528 MySQL \u6570\u636e\u5e93\u65f6\uff0c\u4e86\u89e3\u5176\u7248\u672c\u4fe1\u606f\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u8fd9\u6709\u52a9\u4e8e\u786e\u5b9a\u517c\u5bb9\u6027\u3001\u7279\u6027\u548c\u5df2\u77e5\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u67e5\u770b MySQL \u7248\u672c\uff1a \u547d\u4ee4\u884c \u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a mysql &#8211;version \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u663e\u793a MySQL \u7248\u672c\u548c\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\u3002 MySQL Shell \u5728 MySQL Shell \u4e2d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a SELECT version(); \u767b\u5f55\u540e\u590d\u5236 MySQL Workbench \u5728 MySQL Workbench \u4e2d\uff0c\u5355\u51fb\u201c\u6570\u636e\u5e93\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201c\u5173\u4e8e MySQL Workbench\u201d\u3002\u5c06\u663e\u793a\u7248\u672c\u4fe1\u606f\u3002 \u5176\u4ed6\u65b9\u6cd5 Windows: \u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d\u5e76\u5bfc\u822a\u81f3\u201c\u7a0b\u5e8f\u548c\u529f\u80fd\u201d\u3002\u67e5\u627e MySQL \u5e76\u67e5\u770b\u5176\u7248\u672c\u3002 macOS: \u5728\u201c\u7ec8\u7aef\u201d\u4e2d\u8f93\u5165\u547d\u4ee4\uff1a\u201c\/usr\/local\/bin\/mysql &#8211;version\u201d\u3002 Linux: \u5728\u201c\u7ec8\u7aef\u201d\u4e2d\u8f93\u5165\u547d\u4ee4\uff1a\u201cmysql &#8211;version\u201d\u3002 \u7248\u672c\u53f7\u89e3\u91ca MySQL \u7248\u672c\u53f7\u91c7\u7528\uff1amajor.minor.patch \u7684\u683c\u5f0f\u3002 Major: \u4e3b\u8981\u7248\u672c\u53f7\u8868\u793a\u91cd\u5927\u66f4\u6539\u3002 Minor: \u6b21\u8981\u7248\u672c\u53f7\u8868\u793a\u65b0\u7279\u6027\u548c\u529f\u80fd\u3002 Patch: \u4fee\u8865\u7248\u672c\u53f7\u8868\u793a\u9519\u8bef\u4fee\u590d\u548c\u5b89\u5168\u66f4\u65b0\u3002 \u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f\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-5140","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5140","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=5140"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/5140\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=5140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=5140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=5140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}