{"id":187452,"date":"2024-11-11T14:23:22","date_gmt":"2024-11-11T06:23:22","guid":{"rendered":"https:\/\/server.hk\/cnblog\/187452\/"},"modified":"2024-11-11T14:23:23","modified_gmt":"2024-11-11T06:23:23","slug":"%e6%95%b8%e6%93%9a%e5%ba%ab%e5%af%ab%e4%bd%9c%e5%b7%a5%e5%85%b7%e5%8f%8a%e5%85%b6%e5%85%a7%e5%ae%b9%e4%bb%8b%e7%b4%b9-%e5%af%ab%e6%95%b8%e6%93%9a%e5%ba%ab%e7%94%a8%e4%bb%80%e9%ba%bc%e8%bb%9f%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/187452\/","title":{"rendered":"\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u53ca\u5176\u5167\u5bb9\u4ecb\u7d39 (\u5beb\u6578\u64da\u5eab\u7528\u4ec0\u9ebc\u8edf\u4ef6\u6709\u54ea\u4e9b\u5167\u5bb9)"},"content":{"rendered":"<h1 id=\"%e6%95%b8%e6%93%9a%e5%ba%ab%e5%af%ab%e4%bd%9c%e5%b7%a5%e5%85%b7%e5%8f%8a%e5%85%b6%e5%85%a7%e5%ae%b9%e4%bb%8b%e7%b4%b9-dtMkJYNSQh\">\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u53ca\u5176\u5167\u5bb9\u4ecb\u7d39<\/h1>\n<p>\u5728\u7576\u4eca\u6578\u64da\u9a45\u52d5\u7684\u4e16\u754c\u4e2d\uff0c\u6578\u64da\u5eab\u7684\u7ba1\u7406\u548c\u64cd\u4f5c\u8b8a\u5f97\u8d8a\u4f86\u8d8a\u91cd\u8981\u3002\u7121\u8ad6\u662f\u958b\u767c\u61c9\u7528\u7a0b\u5e8f\u3001\u7db2\u7ad9\u9084\u662f\u9032\u884c\u6578\u64da\u5206\u6790\uff0c\u9078\u64c7\u5408\u9069\u7684\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u90fd\u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u4e00\u4e9b\u5e38\u898b\u7684\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u53ca\u5176\u529f\u80fd\uff0c\u5e6b\u52a9\u8b80\u8005\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u9078\u64c7\u5408\u9069\u7684\u5de5\u5177\u4f86\u6eff\u8db3\u5176\u9700\u6c42\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%af%e6%95%b8%e6%93%9a%e5%ba%ab%e5%af%ab%e4%bd%9c%e5%b7%a5%e5%85%b7%ef%bc%9f-dtMkJYNSQh\">\u4ec0\u9ebc\u662f\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\uff1f<\/h2>\n<p>\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u662f\u7528\u65bc\u5275\u5efa\u3001\u7ba1\u7406\u548c\u64cd\u4f5c\u6578\u64da\u5eab\u7684\u8edf\u4ef6\u3002\u9019\u4e9b\u5de5\u5177\u901a\u5e38\u63d0\u4f9b\u7528\u6236\u53cb\u597d\u7684\u754c\u9762\uff0c\u5e6b\u52a9\u7528\u6236\u57f7\u884c\u5404\u7a2e\u6578\u64da\u5eab\u64cd\u4f5c\uff0c\u5982\u67e5\u8a62\u3001\u66f4\u65b0\u3001\u522a\u9664\u548c\u6578\u64da\u5eab\u7d50\u69cb\u7684\u4fee\u6539\u3002\u9019\u4e9b\u5de5\u5177\u53ef\u4ee5\u662f\u684c\u9762\u61c9\u7528\u7a0b\u5e8f\uff0c\u4e5f\u53ef\u4ee5\u662f\u57fa\u65bc\u7db2\u7d61\u7684\u61c9\u7528\u7a0b\u5e8f\u3002<\/p>\n<h2 id=\"%e5%b8%b8%e8%a6%8b%e7%9a%84%e6%95%b8%e6%93%9a%e5%ba%ab%e5%af%ab%e4%bd%9c%e5%b7%a5%e5%85%b7-dtMkJYNSQh\">\u5e38\u898b\u7684\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177<\/h2>\n<h3 id=\"1-mysql-workbench-dtMkJYNSQh\">1. MySQL Workbench<\/h3>\n<p>MySQL Workbench \u662f\u4e00\u6b3e\u6d41\u884c\u7684\u958b\u6e90\u6578\u64da\u5eab\u8a2d\u8a08\u548c\u7ba1\u7406\u5de5\u5177\u3002\u5b83\u63d0\u4f9b\u4e86\u53ef\u8996\u5316\u7684\u6578\u64da\u5eab\u8a2d\u8a08\u529f\u80fd\uff0c\u4f7f\u7528\u6236\u80fd\u5920\u8f15\u9b06\u5730\u5275\u5efa\u548c\u4fee\u6539\u6578\u64da\u5eab\u7d50\u69cb\u3002MySQL Workbench \u9084\u652f\u6301 SQL \u67e5\u8a62\u7684\u7de8\u5beb\u548c\u57f7\u884c\uff0c\u4e26\u63d0\u4f9b\u6578\u64da\u5eab\u6027\u80fd\u76e3\u63a7\u529f\u80fd\u3002<\/p>\n<h4 id=\"%e4%b8%bb%e8%a6%81%e5%8a%9f%e8%83%bd%ef%bc%9a-dtMkJYNSQh\">\u4e3b\u8981\u529f\u80fd\uff1a<\/h4>\n<ul>\n<li>\u53ef\u8996\u5316\u6578\u64da\u5eab\u8a2d\u8a08<\/li>\n<li>SQL \u67e5\u8a62\u7de8\u8f2f\u5668<\/li>\n<li>\u6578\u64da\u5eab\u6027\u80fd\u76e3\u63a7<\/li>\n<li>\u6578\u64da\u5c0e\u5165\u548c\u5c0e\u51fa<\/li>\n<\/ul>\n<h3 id=\"2-pgadmin-dtMkJYNSQh\">2. pgAdmin<\/h3>\n<p>pgAdmin \u662f PostgreSQL \u7684\u5b98\u65b9\u7ba1\u7406\u5de5\u5177\uff0c\u9069\u5408\u7528\u65bc\u7ba1\u7406 PostgreSQL \u6578\u64da\u5eab\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u500b\u76f4\u89c0\u7684\u7528\u6236\u754c\u9762\uff0c\u4f7f\u7528\u6236\u80fd\u5920\u8f15\u9b06\u5730\u57f7\u884c SQL \u67e5\u8a62\u3001\u7ba1\u7406\u6578\u64da\u5eab\u5c0d\u8c61\u548c\u76e3\u63a7\u6578\u64da\u5eab\u6027\u80fd\u3002<\/p>\n<h4 id=\"%e4%b8%bb%e8%a6%81%e5%8a%9f%e8%83%bd%ef%bc%9a-dtMkJYNSQh\">\u4e3b\u8981\u529f\u80fd\uff1a<\/h4>\n<ul>\n<li>SQL \u67e5\u8a62\u7de8\u8f2f\u5668<\/li>\n<li>\u6578\u64da\u5eab\u5c0d\u8c61\u7ba1\u7406<\/li>\n<li>\u6578\u64da\u5eab\u6027\u80fd\u76e3\u63a7<\/li>\n<li>\u5831\u544a\u751f\u6210<\/li>\n<\/ul>\n<h3 id=\"3-dbeaver-dtMkJYNSQh\">3. DBeaver<\/h3>\n<p>DBeaver \u662f\u4e00\u6b3e\u591a\u5e73\u53f0\u7684\u6578\u64da\u5eab\u7ba1\u7406\u5de5\u5177\uff0c\u652f\u6301\u591a\u7a2e\u6578\u64da\u5eab\u7cfb\u7d71\uff0c\u5305\u62ec MySQL\u3001PostgreSQL\u3001SQLite \u548c Oracle \u7b49\u3002\u5b83\u63d0\u4f9b\u4e86\u5f37\u5927\u7684 SQL \u7de8\u8f2f\u5668\u548c\u6578\u64da\u53ef\u8996\u5316\u529f\u80fd\uff0c\u9069\u5408\u958b\u767c\u4eba\u54e1\u548c\u6578\u64da\u5206\u6790\u5e2b\u4f7f\u7528\u3002<\/p>\n<h4 id=\"%e4%b8%bb%e8%a6%81%e5%8a%9f%e8%83%bd%ef%bc%9a-dtMkJYNSQh\">\u4e3b\u8981\u529f\u80fd\uff1a<\/h4>\n<ul>\n<li>\u591a\u6578\u64da\u5eab\u652f\u6301<\/li>\n<li>SQL \u7de8\u8f2f\u5668\u548c\u57f7\u884c<\/li>\n<li>\u6578\u64da\u53ef\u8996\u5316<\/li>\n<li>\u6578\u64da\u5c0e\u5165\u548c\u5c0e\u51fa<\/li>\n<\/ul>\n<h3 id=\"4-heidisql-dtMkJYNSQh\">4. HeidiSQL<\/h3>\n<p>HeidiSQL \u662f\u4e00\u6b3e\u8f15\u91cf\u7d1a\u7684\u6578\u64da\u5eab\u7ba1\u7406\u5de5\u5177\uff0c\u4e3b\u8981\u7528\u65bc MySQL \u548c MariaDB \u6578\u64da\u5eab\u3002\u5b83\u63d0\u4f9b\u4e86\u7c21\u55ae\u6613\u7528\u7684\u754c\u9762\uff0c\u4f7f\u7528\u6236\u80fd\u5920\u5feb\u901f\u57f7\u884c SQL \u67e5\u8a62\u548c\u7ba1\u7406\u6578\u64da\u5eab\u3002<\/p>\n<h4 id=\"%e4%b8%bb%e8%a6%81%e5%8a%9f%e8%83%bd%ef%bc%9a-dtMkJYNSQh\">\u4e3b\u8981\u529f\u80fd\uff1a<\/h4>\n<ul>\n<li>SQL \u67e5\u8a62\u7de8\u8f2f\u5668<\/li>\n<li>\u6578\u64da\u5eab\u5c0d\u8c61\u7ba1\u7406<\/li>\n<li>\u6578\u64da\u5c0e\u5165\u548c\u5c0e\u51fa<\/li>\n<li>\u6279\u91cf\u6578\u64da\u7de8\u8f2f<\/li>\n<\/ul>\n<h2 id=\"%e9%81%b8%e6%93%87%e5%90%88%e9%81%a9%e7%9a%84%e6%95%b8%e6%93%9a%e5%ba%ab%e5%af%ab%e4%bd%9c%e5%b7%a5%e5%85%b7-dtMkJYNSQh\">\u9078\u64c7\u5408\u9069\u7684\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177<\/h2>\n<p>\u9078\u64c7\u5408\u9069\u7684\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u53d6\u6c7a\u65bc\u591a\u7a2e\u56e0\u7d20\uff0c\u5305\u62ec\u6578\u64da\u5eab\u985e\u578b\u3001\u7528\u6236\u9700\u6c42\u548c\u9810\u7b97\u3002\u5c0d\u65bc\u521d\u5b78\u8005\u4f86\u8aaa\uff0c\u9078\u64c7\u4e00\u6b3e\u754c\u9762\u53cb\u597d\u4e14\u529f\u80fd\u5168\u9762\u7684\u5de5\u5177\uff0c\u5982 MySQL Workbench \u6216 pgAdmin\uff0c\u5c07\u6709\u52a9\u65bc\u5feb\u901f\u4e0a\u624b\u3002\u800c\u5c0d\u65bc\u9700\u8981\u591a\u6578\u64da\u5eab\u652f\u6301\u7684\u7528\u6236\uff0cDBeaver \u662f\u4e00\u500b\u4e0d\u932f\u7684\u9078\u64c7\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-dtMkJYNSQh\">\u7e3d\u7d50<\/h2>\n<p>\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u5728\u6578\u64da\u7ba1\u7406\u548c\u64cd\u4f5c\u4e2d\u626e\u6f14\u8457\u91cd\u8981\u89d2\u8272\u3002\u9078\u64c7\u5408\u9069\u7684\u5de5\u5177\u53ef\u4ee5\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u7c21\u5316\u6578\u64da\u5eab\u7ba1\u7406\u904e\u7a0b\u3002\u7121\u8ad6\u662f\u4f7f\u7528 MySQL Workbench\u3001pgAdmin \u9084\u662f DBeaver\uff0c\u4e86\u89e3\u9019\u4e9b\u5de5\u5177\u7684\u529f\u80fd\u548c\u7279\u9ede\u5c07\u6709\u52a9\u65bc\u7528\u6236\u505a\u51fa\u660e\u667a\u7684\u9078\u64c7\u3002\u5982\u679c\u60a8\u9700\u8981\u9ad8\u6548\u7684 <a href=\"https:\/\/server.hk\">VPS<\/a> \u89e3\u6c7a\u65b9\u6848\u4f86\u652f\u6301\u60a8\u7684\u6578\u64da\u5eab\u64cd\u4f5c\uff0c\u8acb\u8003\u616e\u6211\u5011\u7684\u670d\u52d9\u3002\u7121\u8ad6\u662f <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u9084\u662f\u5176\u4ed6\u985e\u578b\u7684 <a href=\"https:\/\/server.hk\">\u4f3a\u670d\u5668<\/a>\uff0c\u6211\u5011\u90fd\u80fd\u63d0\u4f9b\u7a69\u5b9a\u53ef\u9760\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a2\u7d22\u6578\u64da\u5eab\u5beb\u4f5c\u5de5\u5177\u53ca\u5176\u529f\u80fd\uff0c\u4e86\u89e3\u9069\u5408\u6578\u64da\u5eab\u7684\u8edf\u4ef6\u9078\u64c7\u53ca\u5176\u5167\u5bb9\u4ecb\u7d39\uff0c\u63d0\u5347\u5beb\u4f5c\u6548\u7387\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-187452","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/187452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=187452"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/187452\/revisions"}],"predecessor-version":[{"id":187453,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/187452\/revisions\/187453"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=187452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=187452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=187452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}