您的位置:首页 > 博客中心 > 数据库 >

windows身份验证,那么sqlserver的连接字符串的

时间:2022-03-13 22:39

Data Source=计算机名称或ip地址;Initial Catalog=数据库名称;Integrated Security=True

 

windows身份验证不需要psw的
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=master;Data Source=127.0.0.1

这个是个例子 你看下


windows身份验证,那么sqlserver的连接字符串的,布布扣,bubuko.com

热门排行

今日推荐

热门手游