星空网 > 软件开发 > ASP.net

[转】[tip] localhost vs. (local) in SQL Server connection strings

主要区别在于连接协议不同,前者(localhost)使用TCP协议,后者(“(local)”)使用NamedPipe协议。

 

Sample code with SQL Server connection strings often use localhost and (local) interchangeably. They're different.

Server=(local);Database=DotNetNuke;Trusted_Connection=True
Uses named pipes

Server=localhost;Database=DotNetNuke;Trusted_Connection=True
Uses a TCP port negotiated on port 1434 udp, which defaults to 1433

原文链接:http://weblogs.asp.net/jongalloway/432062




原标题:[转】[tip] localhost vs. (local) in SQL Server connection strings

关键词:string

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

空运俄罗斯专线:https://www.goluckyvip.com/tag/35216.html
空运费:https://www.goluckyvip.com/tag/35217.html
空运航空货运:https://www.goluckyvip.com/tag/35218.html
空运好还是陆运好:https://www.goluckyvip.com/tag/35219.html
空运和陆运哪个快:https://www.goluckyvip.com/tag/35220.html
空运货物货运:https://www.goluckyvip.com/tag/35221.html
皇家游轮航线 皇家邮轮旅游攻略:https://www.vstour.cn/a/408245.html
2017春节旅游攻略有吗:https://www.vstour.cn/a/408246.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流