집 >데이터 베이스 >MySQL 튜토리얼 >数据库做了镜像后,Web应用中Web.config的数据库连接串配置
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>