C# program to switch updating from Master server to Slave server

Posted by tanthiamhuat on Stack Overflow See other posts from Stack Overflow or by tanthiamhuat
Published on 2010-04-22T09:01:56Z Indexed on 2010/04/22 9:03 UTC
Read the original article Hit count: 315

Filed under:
|
|

assuming that I have setup the Database (MySQL) Replication using Master-Slave configuration, and have synchronized those Master and Slave servers, how can my C# program know that it has to update the Slave server when the Master server fails? What are the conditions that the C# program switch from the Master server to the Slave server?

I am using MySQL server.

© Stack Overflow or respective owner

Related posts about c#

Related posts about master