{"id":270,"date":"2026-10-31T08:22:31","date_gmt":"2026-10-31T00:22:31","guid":{"rendered":"http:\/\/laoke.pw\/?p=270"},"modified":"2026-10-31T08:22:31","modified_gmt":"2026-10-31T00:22:31","slug":"232-heidisql-%e8%bf%9e%e6%95%b0%e6%8d%ae%e5%ba%93%e8%bf%99%e4%bb%b6%e5%b0%8f%e4%ba%8b%ef%bc%8c%e4%b8%8d%e8%af%a5%e5%85%88%e5%bc%80%e4%b8%80%e4%b8%aa-300mb-%e7%9a%84-ide","status":"publish","type":"post","link":"https:\/\/laoke.pw\/?p=270","title":{"rendered":"232 HeidiSQL \u2014\u2014 \u8fde\u6570\u636e\u5e93\u8fd9\u4ef6\u5c0f\u4e8b\uff0c\u4e0d\u8be5\u5148\u5f00\u4e00\u4e2a 300MB \u7684 IDE"},"content":{"rendered":"<p><strong>\u4e00\u53e5\u8bdd\u5b9a\u4f4d<\/strong>\uff1a\u4e00\u6b3e\u514d\u8d39\u5f00\u6e90\u7684 Windows \u6570\u636e\u5e93\u5ba2\u6237\u7aef\uff0c\u628a MySQL\u3001MariaDB\u3001PostgreSQL\u3001SQL Server \u7684\u8fde\u63a5\u3001\u5efa\u8868\u3001\u5bfc\u6570\u636e\u90fd\u505a\u6210\u70b9\u9009\u64cd\u4f5c\uff0c\u88c5\u5b8c\u4e0d\u5230\u4e00\u5206\u949f\u5c31\u80fd\u67e5\u8868\u3002<\/p>\n<h2>\u75db\u70b9\uff1a\u67e5\u4e00\u5f20\u8868\uff0c\u4ee3\u4ef7\u4e0d\u8be5\u8fd9\u4e48\u9ad8<\/h2>\n<p>\u4e34\u65f6\u8981\u770b\u4e00\u6761\u6570\u636e\uff0c\u6446\u5728\u4f60\u9762\u524d\u901a\u5e38\u53ea\u6709\u4e24\u6761\u8def\uff1a\u8981\u4e48\u6253\u5f00\u4e00\u4e2a\u5b8c\u6574\u7684\u6570\u636e\u5e93 IDE\uff0c\u7b49\u5b83\u52a0\u8f7d\u5b8c\u63d2\u4ef6\u3001\u7d22\u5f15\u5b8c\u5143\u6570\u636e\uff0c\u51e0\u5341\u79d2\u8fc7\u53bb\uff1b\u8981\u4e48\u7ffb\u51fa\u7ec8\u7aef\u6572 <code>mysql -u root -p<\/code>\uff0c\u7136\u540e\u53d1\u73b0\u5fd8\u4e86\u5e93\u540d\uff0c\u518d <code>show databases<\/code> \u4e00\u904d\u3002<\/p>\n<p>\u7ed9\u522b\u4eba\u5bfc\u4e00\u4efd\u6570\u636e\u66f4\u6298\u817e\u3002\u8981\u4e48\u5199 <code>SELECT ... INTO OUTFILE<\/code>\uff0c\u8fd8\u8981\u5904\u7406 <code>secure_file_priv<\/code> \u6743\u9650\uff1b\u8981\u4e48\u8ba9\u5f00\u53d1\u4e34\u65f6\u5199\u4e2a\u811a\u672c\u3002\u8fd9\u4e9b\u90fd\u4e0d\u96be\uff0c\u4f46\u6bcf\u6b21\u90fd\u6253\u65ad\u601d\u8def\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li><strong>\u591a\u670d\u52a1\u5668\u7edf\u4e00\u7ba1\u7406<\/strong>\uff1a\u8fde\u63a5\u914d\u7f6e\u53ef\u4fdd\u5b58\u3001\u53ef\u5206\u7ec4\u3001\u53ef\u52a0\u989c\u8272\u6807\u8bb0\uff0c\u6d4b\u8bd5\u5e93\u548c\u751f\u4ea7\u5e93\u4e00\u773c\u5206\u5f97\u5f00<\/li>\n<li><strong>\u8868\u7ed3\u6784\u53ef\u89c6\u5316\u7f16\u8f91<\/strong>\uff1a\u6539\u5b57\u6bb5\u7c7b\u578b\u3001\u52a0\u7d22\u5f15\u3001\u8c03\u6ce8\u91ca\uff0c\u6539\u52a8\u4f1a\u5148\u751f\u6210\u5bf9\u5e94 SQL \u8ba9\u4f60\u786e\u8ba4\u518d\u6267\u884c<\/li>\n<li><strong>\u67e5\u8be2\u7f16\u8f91\u5668<\/strong>\uff1a\u8bed\u6cd5\u9ad8\u4eae\u3001\u8868\u540d\u548c\u5b57\u6bb5\u81ea\u52a8\u8865\u5168\u3001\u591a\u6807\u7b7e\u9875\uff0c\u7ed3\u679c\u96c6\u53ef\u4ee5\u76f4\u63a5\u6539\u5355\u5143\u683c\u5e76\u63d0\u4ea4<\/li>\n<li><strong>\u6570\u636e\u5bfc\u51fa<\/strong>\uff1aSQL \/ CSV \/ Excel \/ JSON \/ HTML\uff0c\u652f\u6301\u53ea\u5bfc\u7b5b\u9009\u540e\u7684\u884c\uff0c\u4e5f\u53ef\u4ee5\u53ea\u5bfc\u7ed3\u6784<\/li>\n<li><strong>SSH \u96a7\u9053<\/strong>\uff1a\u670d\u52a1\u5668\u53ea\u5f00 22 \u7aef\u53e3\u3001\u6570\u636e\u5e93\u4e0d\u5bf9\u5916\u65f6\uff0c\u586b\u8df3\u677f\u673a\u4fe1\u606f\u5c31\u80fd\u8fde\u4e0a<\/li>\n<li><strong>\u4fbf\u643a\u7248<\/strong>\uff1a\u5355\u4e2a exe\uff0c\u89e3\u538b\u5373\u7528\uff0c\u4e0d\u5199\u6ce8\u518c\u8868<\/li>\n<\/ul>\n<h2>\u5b9e\u6d4b\u4f53\u9a8c<\/h2>\n<p>\u5b89\u88c5\u5305 30MB \u5de6\u53f3\uff0c\u4fbf\u643a\u7248\u5c31\u662f\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53cc\u51fb\u5230\u51fa\u73b0\u8fde\u63a5\u5217\u8868\u5927\u7ea6 2 \u79d2\u2014\u2014\u8fd9\u4e2a\u901f\u5ea6\u662f\u5b83\u6700\u5927\u7684\u7ade\u4e89\u529b\u3002<\/p>\n<p>\u8fde\u4e00\u53f0 4GB \u5185\u5b58\u7684\u5c0f\u578b\u4e91\u6570\u636e\u5e93\uff0c\u6253\u5f00\u4e00\u5f20 20 \u4e07\u884c\u7684\u8868\uff0c\u9ed8\u8ba4\u6309\u9875\u52a0\u8f7d\uff0c\u6eda\u52a8\u5f88\u6d41\u7545\uff0c\u4e0d\u4f1a\u50cf\u67d0\u4e9b\u5ba2\u6237\u7aef\u90a3\u6837\u4e00\u6b21\u6027\u628a\u6574\u8868\u62c9\u8fdb\u5185\u5b58\u3002\u67e5\u8be2\u7f16\u8f91\u5668\u91cc\u6572 <code>select * from ord<\/code> \u5c31\u4f1a\u5f39\u51fa\u5019\u9009\u8868\u540d\uff0c\u56de\u8f66\u8865\u5168\uff0c\u6bd4\u81ea\u5df1\u62fc\u8868\u540d\u5feb\u3002<\/p>\n<p>\u5bfc\u51fa\u6d4b\u8bd5\uff1a50 \u4e07\u884c\u7684\u8868\u5bfc\u6210 CSV\uff0c\u672c\u5730\u5230\u672c\u5730\u5927\u7ea6 15 \u5230 20 \u79d2\uff0c\u8fdb\u5ea6\u6761\u6e05\u695a\uff0c\u4e2d\u9014\u53ef\u4ee5\u53d6\u6d88\u3002\u6362\u6210\u5bfc\u51fa SQL \u4f1a\u6162\u4e00\u4e9b\uff0c\u56e0\u4e3a\u8981\u751f\u6210 INSERT \u8bed\u53e5\uff0c\u4f46\u53ef\u4ee5\u52fe\u9009&quot;\u6bcf\u6761 INSERT \u591a\u884c&quot;\uff0c\u6587\u4ef6\u4f53\u79ef\u80fd\u5c0f\u4e00\u5927\u622a\u3002<\/p>\n<p>SSH \u96a7\u9053\u8fd9\u5757\u505a\u5f97\u5f88\u7701\u4e8b\uff1a\u586b\u4e3b\u673a\u3001\u7aef\u53e3\u3001\u7528\u6237\u540d\u3001\u79c1\u94a5\u8def\u5f84\uff0c\u70b9\u6d4b\u8bd5\uff0c\u901a\u4e86\u5c31\u76f4\u63a5\u5efa\u8fde\u3002\u4e0d\u9700\u8981\u5148\u5728\u672c\u5730\u8d77\u4e00\u4e2a\u7aef\u53e3\u8f6c\u53d1\u3002<\/p>\n<p>\u7528\u4e0b\u6765\u6700\u522b\u626d\u7684\u662f\u754c\u9762\u2014\u2014\u5178\u578b\u7684 Delphi \u98ce\u683c\uff0c\u63a7\u4ef6\u8fb9\u7f18\u751f\u786c\uff0c\u6df1\u8272\u4e3b\u9898\u505a\u5f97\u4e5f\u6bd4\u8f83\u7c97\u7cd9\u3002\u529f\u80fd\u4e0d\u7f3a\uff0c\u5c31\u662f\u4e0d\u597d\u770b\u3002<\/p>\n<h2>\u9002\u5408\u8c01<\/h2>\n<ul>\n<li>\u4e3b\u8981\u5199 SQL\u3001\u65e5\u5e38\u7ba1 MySQL \/ MariaDB \u7684\u540e\u7aef\u548c\u8fd0\u7ef4<\/li>\n<li>\u9700\u8981\u9891\u7e41\u7ed9\u4ea7\u54c1\u3001\u8fd0\u8425\u5bfc\u6570\u636e\u7684\u5206\u6790\u5c97<\/li>\n<li>\u53ea\u60f3\u5feb\u901f\u770b\u51e0\u773c\u6570\u636e\uff0c\u4e0d\u60f3\u4e3a\u8fd9\u4e2a\u88c5\u4e00\u6574\u5957\u91cd\u578b\u5de5\u5177\u7684\u4eba<\/li>\n<\/ul>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<ul>\n<li>\u53ea\u652f\u6301 Windows\uff0cLinux \u548c macOS \u4e0a\u5f97\u9760 Wine\uff0c\u4f53\u9a8c\u4e00\u822c<\/li>\n<li>\u53ea\u8986\u76d6\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff0cRedis\u3001MongoDB \u8fd9\u7c7b\u5b83\u7ba1\u4e0d\u4e86<\/li>\n<li>\u514d\u8d39\u5f00\u6e90\uff0c\u4f46\u66f4\u65b0\u8282\u594f\u504f\u6162\uff0c\u65b0\u7248\u6570\u636e\u5e93\u7684\u4e00\u4e9b\u7279\u6027\u652f\u6301\u4f1a\u6ede\u540e\u534a\u5e74\u4ee5\u4e0a<\/li>\n<li>\u76f4\u63a5\u5728\u751f\u4ea7\u5e93\u4e0a\u6539\u5355\u5143\u683c\u5f88\u65b9\u4fbf\uff0c\u4e5f\u5f88\u5371\u9669\u2014\u2014\u8bef\u64cd\u4f5c\u6ca1\u6709\u64a4\u9500\uff0c\u5efa\u8bae\u7ed9\u751f\u4ea7\u8fde\u63a5\u52a0\u7ea2\u8272\u6807\u8bb0\u5e76\u53ea\u8bfb\u8d26\u53f7<\/li>\n<\/ul>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>HeidiSQL \u7684\u4ef7\u503c\u4e0d\u5728\u529f\u80fd\u591a\uff0c\u800c\u5728&quot;\u6253\u5f00\u5c31\u80fd\u7528&quot;\u3002\u5b83\u6ca1\u6709\u82b1\u54e8\u7684\u754c\u9762\uff0c\u6027\u80fd\u4e5f\u8bf4\u4e0d\u4e0a\u6781\u81f4\uff0c\u4f46\u5b83\u628a\u8fde\u5e93\u3001\u67e5\u8868\u3001\u5bfc\u6570\u636e\u8fd9\u6761\u6700\u77ed\u8def\u5f84\u505a\u5230\u4e86\u51e0\u4e4e\u6ca1\u6709\u6469\u64e6\u3002\u514d\u8d39\u3001\u5f00\u6e90\u3001\u53ef\u4fbf\u643a\uff0c\u65e5\u5e38\u7ef4\u62a4\u6570\u636e\u5e93\u7684\u4eba\u503c\u5f97\u5e38\u5907\u4e00\u4efd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e34\u65f6\u8981\u770b\u4e00\u6761\u6570\u636e\uff0c\u6446\u5728\u4f60\u9762\u524d\u901a\u5e38\u53ea\u6709\u4e24\u6761\u8def\uff1a\u8981\u4e48\u6253\u5f00\u4e00\u4e2a\u5b8c\u6574\u7684\u6570\u636e\u5e93 IDE\uff0c\u7b49\u5b83\u52a0\u8f7d\u5b8c\u63d2\u4ef6\u3001\u7d22\u5f15\u5b8c\u5143\u6570\u636e\uff0c\u51e0\u5341\u79d2\u8fc7\u53bb\uff1b\u8981\u4e48\u7ffb\u51fa\u7ec8\u7aef\u6572 `mysql -u root -p`\uff0c\u7136\u540e\u53d1\u73b0\u5fd8\u4e86\u5e93\u540d\uff0c\u518d `show databases` \u4e00\u904d\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"class_list":["post-270","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=270"}],"version-history":[{"count":0,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/270\/revisions"}],"wp:attachment":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}