{"id":6949,"date":"2020-04-29T08:09:40","date_gmt":"2020-04-29T00:09:40","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6949"},"modified":"2020-08-28T12:58:39","modified_gmt":"2020-08-28T04:58:39","slug":"mysqlshow-2","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mysqlshow-2","title":{"rendered":"mysqlshow\u547d\u4ee4 – \u663e\u793aMySQL\u6570\u636e\u5e93\u7ed3\u6784[\u5ba1]"},"content":{"rendered":"\n

\u4f7f\u7528mysqlshow\u547d\u4ee4\u53ef\u4ee5\u663e\u793amysql\u6570\u636e\u5e93\u7684\u7ed3\u6784\uff0c\u7528\u6765\u5f88\u5feb\u5730\u67e5\u627e\u5b58\u5728\u54ea\u4e9b\u4e66\u5e93\u3001\u6570\u636e\u5e93\u7684\u8868\u3001\u8868\u4e2d\u7684\u5217\u548c\u7d22\u5f15\u7b49\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mysqlshow [\u53c2\u6570] [\u6570\u636e\u5e93[\u8868[\u5217]]]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

--protocol<\/td>\u7528\u4e8e\u8fde\u63a5\u7684\u534f\u8bae\uff0c\u53ef\u4ee5\u662ftcp\u3001socket\u3001pipe<\/td><\/tr>
-t<\/td>\u663e\u793a\u8868\u7684\u7c7b\u578b\u7684\u5217<\/td><\/tr>
-u<\/td>\u7528\u4e8e\u767b\u5f55\u7684\u7528\u6237<\/td><\/tr>
-P<\/td>\u7528\u4e8e\u8fde\u63a5\u7684\u7aef\u53e3\u53f7\uff0c\u5982\u679c\u6ca1\u6709\u6307\u5b9a\uff0c\u9ed8\u8ba4\u503c\u662f3306<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u6570\u636e\u5e93mysql\u670d\u52a1\u5668\u4e2d\u6240\u6709\u7684\u6570\u636e\u5e93\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mysqlshow<\/pre>\n\n\n\n

\u663e\u793a\u6570\u636e\u5e93mysql\u4e2d\u7684\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mysqlshow mysql<\/pre>\n\n\n\n

\u663e\u793a\u7cfb\u7edf\u53d8\u91cf\u7684\u540d\u79f0\u548c\u503c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mysqlshow variables;<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528mysqlshow\u547d\u4ee4\u53ef\u4ee5\u663e\u793amysql\u6570\u636e\u5e93\u7684\u7ed3\u6784\uff0c\u7528\u6765\u5f88\u5feb\u5730\u67e5\u627e\u5b58\u5728\u54ea\u4e9b\u4e66\u5e93\u3001\u6570\u636e\u5e93\u7684\u8868\u3001\u8868\u4e2d\u7684\u5217\u548c\u7d22 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6949"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6949"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6949\/revisions"}],"predecessor-version":[{"id":7286,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6949\/revisions\/7286"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}