Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All

now i have two Mysql servers ( Master + Slave ) , now the slave is always updated and it is identical to the master but now i case the master server was failed and clients begin to read/write to the slave server , does there is an automatic method makes the master server updated again from the slave server


in other words ( say Server A is Master & B is slave)

in normal B is slave and get updates from A
in case A is failed then say after days it returned back , i wanted to re-updated by the data which stored in B while it was offline

thanks all
bye
Posted
Comments
Joan M 5-Jul-11 12:05pm    
Is it possible to reconfigure the master as slave and the slave as master? I don't have any idea on that... it is only something that I've asked to myself... (I've not wanted to put that as an answer in order to keep people's eyes interested in answering but I wanted to know...)
harish85 5-Jul-11 22:32pm    
After reading Joans Comment, I dont want to put this is solution.
Try Check this post, might help -
All ths
http://www.sitepoint.com/mysql-data-sqlyog-job-agent/[^]

1 solution

That is not how it works with master/slave. You what a MySql Cluster for High Availability and Scalability[^].

Master/slave is what it says. Master updates the slaves. Not the other way around.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900