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

这个是个例子 你看下


相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2022-12-23
  • 2022-03-02
  • 2022-02-10
  • 2021-12-24
相关资源
相似解决方案