List:General Discussion« Previous MessageNext Message »
From:Bhavin Vyas Date:September 4 2002 4:55am
Subject:Re: changing a slave to a master in mysql replication
View as plain text  
As far I know, it would help to leave it set. All the queries executed by
the slave to follow the master have the master's server id associated with
them. The one's which don't have that id will be replicated by the new
slave(old master), there by making the process easier and faster.

Regards,
Bhavin.
----- Original Message -----
From: "Vicky Gonzalez" <vgonzalez@stripped>
To: "Bhavin Vyas" <bvyas3@stripped>; <mysql@stripped>
Sent: Tuesday, September 03, 2002 6:16 PM
Subject: RE: changing a slave to a master in mysql replication


Bhavin Vyas wrote Tuesday, September 03, 2002 9:02 PM in response to:
>>To: Vicky Gonzalez; mysql@stripped
>>Subject: Re: changing a slave to a master in mysql replication

>>bin-log in 'needed' for a server to act as a master. This will make the
server log all it's queries for the slave to follow. Don't know of a faster
way.>>

Thanks for the prompt reply, I understand why bin-log is needed for a
master, but I was questioning the usefulness of having the bin-log setting
for a slave while it's running as a slave. When the slave becomes a master,
doesn't it need a new my.cnf (which would have the bin-log set) or can it
become a master with its slave my.cnf? If it can become a master using the
slave my.cnf (which has the bin-log set) what commands would I need to call
to make it a master now, and no longer a slave to its old master?

Thanks again!
~Vicky


Thread
changing a slave to a master in mysql replicationVicky Gonzalez4 Sep
Re: changing a slave to a master in mysql replicationBhavin Vyas4 Sep
RE: changing a slave to a master in mysql replicationVicky Gonzalez4 Sep
  • Help!! Extreme newbieAl Davis4 Sep
    • Re: Help!! Extreme newbieDicky Wahyu Purnomo4 Sep
    • Re: Help!! Extreme newbieSteven Kreuzer6 Sep
      • select statementsjulian haffegee6 Sep
        • Re: select statementsJed Verity6 Sep
          • Re: select statementsjulian haffegee6 Sep
Re: changing a slave to a master in mysql replicationBhavin Vyas4 Sep
Re: select statementsJed Verity6 Sep