Home  >  Article  >  Database  >  数据库做了镜像后,Web应用中Web.config的数据库连接串配置

数据库做了镜像后,Web应用中Web.config的数据库连接串配置

WBOY
WBOYOriginal
2016-06-07 14:59:261167browse

connectionStrings add name="TestDB" providerName="System.Data.SqlClient" connectionString="data source=主体数据库地址; Failover Partner =镜像数据库地址;Integrated Security=false;database=TestDB;user=sa;password=123456"/ /connectionString s



s>

 

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn