{"id":138555,"date":"2024-10-31T15:29:25","date_gmt":"2024-10-31T07:29:25","guid":{"rendered":"https:\/\/server.hk\/cnblog\/138555\/"},"modified":"2024-10-31T15:29:25","modified_gmt":"2024-10-31T07:29:25","slug":"sql-server%e7%ab%af%e5%8f%a3%e7%9a%84%e6%9b%b4%e6%94%b9%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/138555\/","title":{"rendered":"sql server\u7aef\u53e3\u7684\u66f4\u6539\u65b9\u6cd5"},"content":{"rendered":"<h1 id=\"sql-server%e7%ab%af%e5%8f%a3%e7%9a%84%e6%9b%b4%e6%94%b9%e6%96%b9%e6%b3%95-JZzlOOOzFU\">SQL Server\u7aef\u53e3\u7684\u66f4\u6539\u65b9\u6cd5<\/h1>\n<p>\u5728\u4f7f\u7528SQL Server\u7684\u904e\u7a0b\u4e2d\uff0c\u9ed8\u8a8d\u7684\u7aef\u53e3\u865f\u662f1433\u3002\u9019\u500b\u7aef\u53e3\u865f\u662fSQL Server\u7684\u6a19\u6e96\u901a\u8a0a\u7aef\u53e3\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u66f4\u6539\u6b64\u7aef\u53e3\u865f\uff0c\u4f8b\u5982\u51fa\u65bc\u5b89\u5168\u8003\u91cf\u6216\u907f\u514d\u7aef\u53e3\u885d\u7a81\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5982\u4f55\u66f4\u6539SQL Server\u7684\u7aef\u53e3\u865f\uff0c\u4e26\u63d0\u4f9b\u8a73\u7d30\u7684\u6b65\u9a5f\u548c\u6ce8\u610f\u4e8b\u9805\u3002<\/p>\n<h2 id=\"%e7%82%ba%e4%bb%80%e9%ba%bc%e8%a6%81%e6%9b%b4%e6%94%b9sql-server%e7%ab%af%e5%8f%a3-JZzlOOOzFU\">\u70ba\u4ec0\u9ebc\u8981\u66f4\u6539SQL Server\u7aef\u53e3<\/h2>\n<ul>\n<li><strong>\u5b89\u5168\u6027\uff1a<\/strong>\u4f7f\u7528\u975e\u9ed8\u8a8d\u7aef\u53e3\u53ef\u4ee5\u964d\u4f4e\u88ab\u653b\u64ca\u7684\u98a8\u96aa\uff0c\u56e0\u70ba\u8a31\u591a\u81ea\u52d5\u5316\u653b\u64ca\u5de5\u5177\u6703\u5c0b\u627e\u5e38\u898b\u7684\u7aef\u53e3\u3002<\/li>\n<li><strong>\u907f\u514d\u885d\u7a81\uff1a<\/strong>\u5982\u679c\u60a8\u7684\u4f3a\u670d\u5668\u4e0a\u904b\u884c\u591a\u500b\u670d\u52d9\uff0c\u53ef\u80fd\u6703\u51fa\u73fe\u7aef\u53e3\u885d\u7a81\u7684\u60c5\u6cc1\uff0c\u9019\u6642\u66f4\u6539\u7aef\u53e3\u865f\u53ef\u4ee5\u89e3\u6c7a\u554f\u984c\u3002<\/li>\n<li><strong>\u7b26\u5408\u7d44\u7e54\u653f\u7b56\uff1a<\/strong>\u67d0\u4e9b\u7d44\u7e54\u53ef\u80fd\u6709\u7279\u5b9a\u7684\u7db2\u7d61\u5b89\u5168\u653f\u7b56\uff0c\u8981\u6c42\u4f7f\u7528\u7279\u5b9a\u7684\u7aef\u53e3\u865f\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%9b%b4%e6%94%b9sql-server%e7%ab%af%e5%8f%a3%e7%9a%84%e6%ad%a5%e9%a9%9f-JZzlOOOzFU\">\u66f4\u6539SQL Server\u7aef\u53e3\u7684\u6b65\u9a5f<\/h2>\n<h3 id=\"%e6%ad%a5%e9%a9%9f%e4%b8%80%ef%bc%9a%e6%89%93%e9%96%8bsql-server%e9%85%8d%e7%bd%ae%e7%ae%a1%e7%90%86%e5%99%a8-JZzlOOOzFU\">\u6b65\u9a5f\u4e00\uff1a\u6253\u958bSQL Server\u914d\u7f6e\u7ba1\u7406\u5668<\/h3>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u6253\u958bSQL Server\u914d\u7f6e\u7ba1\u7406\u5668\u3002\u9019\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u6b65\u9a5f\u5b8c\u6210\uff1a<\/p>\n<ol>\n<li>\u6309\u4e0b <code>Windows + R<\/code> \u9375\uff0c\u8f38\u5165 <code>sqlservermanager<\/code>\uff0c\u7136\u5f8c\u6309\u4e0b <code>Enter<\/code> \u9375\u3002<\/li>\n<li>\u5728\u914d\u7f6e\u7ba1\u7406\u5668\u4e2d\uff0c\u5c55\u958b <strong>SQL Server \u7db2\u7d61\u914d\u7f6e<\/strong>\u3002<\/li>\n<li>\u9078\u64c7 <strong>SQL Server\u5be6\u4f8b\u7684\u5354\u8b70<\/strong>\u3002<\/li>\n<\/ol>\n<h3 id=\"%e6%ad%a5%e9%a9%9f%e4%ba%8c%ef%bc%9a%e6%9b%b4%e6%94%b9tcp-ip%e5%b1%ac%e6%80%a7-JZzlOOOzFU\">\u6b65\u9a5f\u4e8c\uff1a\u66f4\u6539TCP\/IP\u5c6c\u6027<\/h3>\n<p>\u63a5\u4e0b\u4f86\uff0c\u60a8\u9700\u8981\u66f4\u6539TCP\/IP\u7684\u5c6c\u6027\uff1a<\/p>\n<ol>\n<li>\u5728\u53f3\u5074\u7a97\u683c\u4e2d\uff0c\u627e\u5230 <strong>TCP\/IP<\/strong>\uff0c\u53f3\u9375\u55ae\u64ca\u4e26\u9078\u64c7 <strong>\u5c6c\u6027<\/strong>\u3002<\/li>\n<li>\u5728 <strong>TCP\/IP \u5c6c\u6027<\/strong> \u7a97\u53e3\u4e2d\uff0c\u5207\u63db\u5230 <strong>IP\u5730\u5740<\/strong> \u6a19\u7c64\u3002<\/li>\n<li>\u5728 <strong>IPAll<\/strong> \u90e8\u5206\uff0c\u60a8\u6703\u770b\u5230 <strong>TCP Port<\/strong> \u548c <strong>TCP Dynamic Ports<\/strong> \u7684\u9078\u9805\u3002<\/li>\n<li>\u5c07 <strong>TCP Dynamic Ports<\/strong> \u8a2d\u7f6e\u70ba\u7a7a\uff0c\u7136\u5f8c\u5728 <strong>TCP Port<\/strong> \u4e2d\u8f38\u5165\u60a8\u5e0c\u671b\u4f7f\u7528\u7684\u65b0\u7aef\u53e3\u865f\uff08\u4f8b\u5982\uff1a<code>1434<\/code>\uff09\u3002<\/li>\n<\/ol>\n<h3 id=\"%e6%ad%a5%e9%a9%9f%e4%b8%89%ef%bc%9a%e9%87%8d%e5%95%9fsql-server%e6%9c%8d%e5%8b%99-JZzlOOOzFU\">\u6b65\u9a5f\u4e09\uff1a\u91cd\u555fSQL Server\u670d\u52d9<\/h3>\n<p>\u66f4\u6539\u7aef\u53e3\u865f\u5f8c\uff0c\u60a8\u9700\u8981\u91cd\u555fSQL Server\u670d\u52d9\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\uff1a<\/p>\n<ol>\n<li>\u5728SQL Server\u914d\u7f6e\u7ba1\u7406\u5668\u4e2d\uff0c\u5c55\u958b <strong>SQL Server\u670d\u52d9<\/strong>\u3002<\/li>\n<li>\u53f3\u9375\u55ae\u64ca\u60a8\u7684SQL Server\u5be6\u4f8b\uff0c\u9078\u64c7 <strong>\u91cd\u65b0\u555f\u52d5<\/strong>\u3002<\/li>\n<\/ol>\n<h3 id=\"%e6%ad%a5%e9%a9%9f%e5%9b%9b%ef%bc%9a%e6%9b%b4%e6%96%b0%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e7%bd%ae-JZzlOOOzFU\">\u6b65\u9a5f\u56db\uff1a\u66f4\u65b0\u9632\u706b\u7246\u8a2d\u7f6e<\/h3>\n<p>\u5982\u679c\u60a8\u7684\u4f3a\u670d\u5668\u4e0a\u555f\u7528\u4e86\u9632\u706b\u7246\uff0c\u60a8\u9700\u8981\u78ba\u4fdd\u65b0\u7aef\u53e3\u865f\u5df2\u88ab\u5141\u8a31\u901a\u904e\u9632\u706b\u7246\uff1a<\/p>\n<ol>\n<li>\u6253\u958b\u63a7\u5236\u9762\u677f\uff0c\u9078\u64c7 <strong>\u7cfb\u7d71\u548c\u5b89\u5168<\/strong>\uff0c\u7136\u5f8c\u9078\u64c7 <strong>Windows Defender\u9632\u706b\u7246<\/strong>\u3002<\/li>\n<li>\u9078\u64c7 <strong>\u9ad8\u7d1a\u8a2d\u7f6e<\/strong>\uff0c\u7136\u5f8c\u5728\u5de6\u5074\u9078\u64c7 <strong>\u5165\u7ad9\u898f\u5247<\/strong>\u3002<\/li>\n<li>\u9078\u64c7 <strong>\u65b0\u5efa\u898f\u5247<\/strong>\uff0c\u7136\u5f8c\u9078\u64c7 <strong>\u7aef\u53e3<\/strong>\uff0c\u9ede\u64ca <strong>\u4e0b\u4e00\u6b65<\/strong>\u3002<\/li>\n<li>\u9078\u64c7 <strong>TCP<\/strong>\uff0c\u7136\u5f8c\u8f38\u5165\u60a8\u525b\u624d\u8a2d\u7f6e\u7684\u65b0\u7aef\u53e3\u865f\uff0c\u9ede\u64ca <strong>\u4e0b\u4e00\u6b65<\/strong>\u3002<\/li>\n<li>\u9078\u64c7 <strong>\u5141\u8a31\u9023\u63a5<\/strong>\uff0c\u7136\u5f8c\u5b8c\u6210\u898f\u5247\u7684\u8a2d\u7f6e\u3002<\/li>\n<\/ol>\n<h2 id=\"%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-JZzlOOOzFU\">\u6ce8\u610f\u4e8b\u9805<\/h2>\n<p>\u5728\u66f4\u6539SQL Server\u7aef\u53e3\u865f\u6642\uff0c\u8acb\u6ce8\u610f\u4ee5\u4e0b\u5e7e\u9ede\uff1a<\/p>\n<ul>\n<li>\u78ba\u4fdd\u65b0\u7aef\u53e3\u865f\u4e0d\u8207\u5176\u4ed6\u670d\u52d9\u885d\u7a81\u3002<\/li>\n<li>\u5728\u61c9\u7528\u7a0b\u5e8f\u4e2d\u66f4\u65b0\u9023\u63a5\u5b57\u7b26\u4e32\uff0c\u4ee5\u4f7f\u7528\u65b0\u7684\u7aef\u53e3\u865f\u3002<\/li>\n<li>\u5728\u9032\u884c\u66f4\u6539\u4e4b\u524d\uff0c\u5efa\u8b70\u5099\u4efdSQL Server\u7684\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-JZzlOOOzFU\">\u7e3d\u7d50<\/h2>\n<p>\u66f4\u6539SQL Server\u7684\u7aef\u53e3\u865f\u662f\u4e00\u500b\u76f8\u5c0d\u7c21\u55ae\u7684\u904e\u7a0b\uff0c\u4f46\u9700\u8981\u8b39\u614e\u64cd\u4f5c\u4ee5\u907f\u514d\u5f71\u97ff\u5230\u670d\u52d9\u7684\u6b63\u5e38\u904b\u884c\u3002\u901a\u904e\u9075\u5faa\u4e0a\u8ff0\u6b65\u9a5f\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u66f4\u6539\u7aef\u53e3\u865f\uff0c\u63d0\u5347\u7cfb\u7d71\u7684\u5b89\u5168\u6027\u548c\u7a69\u5b9a\u6027\u3002\u5982\u679c\u60a8\u9700\u8981\u9032\u4e00\u6b65\u7684\u652f\u6301\u6216\u5c0b\u627e\u5408\u9069\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3\u5982\u4f55\u66f4\u6539SQL Server\u7aef\u53e3\u8bbe\u7f6e\uff0c\u786e\u4fdd\u6570\u636e\u5e93\u5b89\u5168\u4e0e\u8fde\u63a5\u987a\u7545\uff0c\u63d0\u5347\u7cfb\u7edf\u6027\u80fd\u4e0e\u7ba1\u7406\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-138555","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/138555","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=138555"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/138555\/revisions"}],"predecessor-version":[{"id":138556,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/138555\/revisions\/138556"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=138555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=138555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=138555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}