I am planning to setup mysql master-master or master-slave configuration. Yet to be decided.

But my question is, is there any way to specify in the slave or master saying that it needs to check for master's binary file every say, 5 seconds or so ? Is this parameter configurable ?

link|improve this question

43% accept rate
I don't understand your question. Do you want to enforce a delay in replication between the master and the slave? Are you looking to configure the reconnect time? I think you might be misunderstanding MySQL replication - the slave I/O thread maintains a persistent connection to the master. It doesn't poll it periodically. – Aaron Brown Oct 23 '11 at 1:34
feedback

1 Answer

up vote 1 down vote accepted

From version 5.6, you can do it with MASTER_DELAY option.

CHANGE MASTER TO MASTER_DELAY = 5;
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.