|
|||||||||||
|
Re: make a slave db a master db
From: B. Keith Murphy <kmurphy(at)icontact.com>
Date: Thu Aug 30 2007 - 09:43:14 EDT
The answer to your question is very simple actually, but there is some subtleties that you need to think of. To stop the slave from getting replication data from the master just issue a "stop slave" command. I would also recommend that you run a "reset master" command in addition. This will reset the master server information to empty (not pointing anywhere). The reason why it is subtle is that you need to know what state you want your data in. When you issue the stop slave command it breaks the replication with the master with your data on the old slave basically the same as the master. Is that what you really want? If not, you need to take other measures to get your data in the state you want before bringing it online as a standalone server. Hope that helps. Keith
What data do you want on the new master?
----- Original Message -----
Hi All,
regards
-- B. Keith Murphy Database Administrator iContact 2635 Meridian Parkway, 2nd Floor Durham, North Carolina 27713 blog: http://www.paragon-cs.com/wordpressReceived on Thu Aug 30 09:47:28 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:08:11 EDT |
||||||||||
|
|||||||||||