I have one MySQL Master and several slave machines.
master-slave replication is set and works perfectly.
At this point, I want to add a new slave machine:
My question relates to the "CHANGE MASTER TO" command:
Assuming that all the files are available on the master, I will start from mysql-bin.000001, but from which position ? MASTER_LOG_POS=0 ? MASTER_LOG_POS=1 ? Something else ?
CHANGE MASTER TO MASTER_HOST='...', MASTER_USER='...', MASTER_PASSWORD='...', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=WHAT_SHOULD_WRITE_HERE;
10x,