Home > Back-end > About the database, the mirror fault automatic transfer ADO ConnectionString configuration problems.
About the database, the mirror fault automatic transfer ADO ConnectionString configuration problems.
Time:10-12
The reality is like that, I describe,
Background: Now has a server SERVER_A SERVER_B, in the same domain, SERVER_A DATABASE_A on database as the main body, SERVER_B DATABASE_A for mirror, automatic failover mode to transfer,
I want to reach the effect is to set up a general ConnectionString, when SERVER_A DATABASE_A database as the main body can be connected on success; SERVER_A failure (such as network impassability) SERVER_B database after DATABASE_A also can connect successfully as the main body,
As far as I know Failover Partner properties can achieve the result that I want, but do not know how to set up, the great god please help,
CodePudding user response:
Nobody reply top himself,
CodePudding user response:
Can write the address fixed in one place, even if A server can use B service connection string