{"id":6789,"date":"2024-11-14T13:00:53","date_gmt":"2024-11-14T05:00:53","guid":{"rendered":"https:\/\/fwq.ai\/blog\/6789\/"},"modified":"2024-11-14T13:00:53","modified_gmt":"2024-11-14T05:00:53","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8-mysql-%e5%90%8c%e6%97%b6%e6%93%8d%e4%bd%9c%e5%a4%9a%e4%b8%aa%e6%95%b0%e6%8d%ae%e5%ba%93%e4%b8%ad%e7%9a%84%e7%9b%b8%e5%90%8c%e8%a1%a8%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/6789\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 MySQL \u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/172992727614686.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u4f7f\u7528 MySQL \u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u4f7f\u7528 MySQL \u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728  \u4e2d\u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e<\/strong><\/p>\n<p>\u5bf9\u4e8e\u62e5\u6709\u591a\u4e2a\u6570\u636e\u5e93\u7684\u7528\u6237\uff0c\u6709\u65f6\u9700\u8981\u5bf9\u4e0d\u540c\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\u8fdb\u884c\u64cd\u4f5c\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 mysql \u5728\u4e0d\u540c\u7684\u6570\u636e\u5e93\u4e2d\u540c\u65f6\u5bf9\u4e00\u5f20\u8868\u8fdb\u884c\u589e\u5220\u6539\u67e5\u3002<\/p>\n<p>\u8bed\u53e5\uff1a<\/p>\n<pre>select * from information_schema.tables where table_name = 'undo_log';<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<table>\n<thead>\n<tr>\n<th>\u8fd4\u56de\uff1a<\/th>\n<th>table_catalog<\/th>\n<th>table_schema<\/th>\n<th>table_name<\/th>\n<th> <\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>database_name<\/td>\n<td>schema_name<\/td>\n<td>undo_log<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u64cd\u4f5c\u4e0d\u540c\u6a21\u5f0f\u4e2d\u7684\u8868\uff1a<\/strong><\/p>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f mysql \u5b9e\u4f8b\u4e2d\u5177\u6709\u4e0d\u540c\u6a21\u5f0f\u7684\u591a\u4e2a\u6570\u636e\u5e93\uff0c\u5219\u64cd\u4f5c\u65b9\u6cd5\u4e0e\u5728\u5355\u4e2a\u6570\u636e\u5e93\u4e2d\u64cd\u4f5c\u6ca1\u6709\u592a\u5927\u3002\u5728\u8868\u540d\u524d\u52a0\u4e0a\u6a21\u5f0f\u540d\u79f0\u5373\u53ef\u3002\u4f8b\u5982\uff1a<\/p>\n<pre>SELECT * FROM schema_name.table_name;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8bf7\u786e\u4fdd\u6570\u636e\u5e93\u7528\u6237\u5177\u6709\u8db3\u591f\u7684\u6743\u9650\u6765\u8bbf\u95ee\u6240\u6709\u76f8\u5173\u7684\u6570\u636e\u5e93\u548c\u8868\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u4f7f\u7528 MySQL \u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\uff1f\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\u5728 \u4e2d\u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e \u5bf9\u4e8e\u62e5\u6709\u591a\u4e2a\u6570\u636e\u5e93\u7684\u7528\u6237\uff0c\u6709\u65f6\u9700\u8981\u5bf9\u4e0d\u540c\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\u8fdb\u884c\u64cd\u4f5c\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 mysql \u5728\u4e0d\u540c\u7684\u6570\u636e\u5e93\u4e2d\u540c\u65f6\u5bf9\u4e00\u5f20\u8868\u8fdb\u884c\u589e\u5220\u6539\u67e5\u3002 \u8bed\u53e5\uff1a select * from information_schema.tables where table_name = &#8216;undo_log&#8217;; \u767b\u5f55\u540e\u590d\u5236 \u8fd4\u56de\uff1a table_catalog table_schema table_name database_name schema_name undo_log \u64cd\u4f5c\u4e0d\u540c\u6a21\u5f0f\u4e2d\u7684\u8868\uff1a \u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f mysql \u5b9e\u4f8b\u4e2d\u5177\u6709\u4e0d\u540c\u6a21\u5f0f\u7684\u591a\u4e2a\u6570\u636e\u5e93\uff0c\u5219\u64cd\u4f5c\u65b9\u6cd5\u4e0e\u5728\u5355\u4e2a\u6570\u636e\u5e93\u4e2d\u64cd\u4f5c\u6ca1\u6709\u592a\u5927\u3002\u5728\u8868\u540d\u524d\u52a0\u4e0a\u6a21\u5f0f\u540d\u79f0\u5373\u53ef\u3002\u4f8b\u5982\uff1a SELECT * FROM schema_name.table_name; \u767b\u5f55\u540e\u590d\u5236 \u8bf7\u786e\u4fdd\u6570\u636e\u5e93\u7528\u6237\u5177\u6709\u8db3\u591f\u7684\u6743\u9650\u6765\u8bbf\u95ee\u6240\u6709\u76f8\u5173\u7684\u6570\u636e\u5e93\u548c\u8868\u3002 \u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u4f7f\u7528 MySQL \u540c\u65f6\u64cd\u4f5c\u591a\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u76f8\u540c\u8868\uff1f\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-6789","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/6789","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=6789"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/6789\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=6789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=6789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=6789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}