MySQL Replication

From CharlieWiki

Jump to:navigation, search

This is the process used to add a new MySQL Slave to the YourWiki cluster of servers. I keep this as a reference, as some of the documentation on the MySQL site doesn't work/is out of date.

[edit] Steps

SHOW SLAVE STATUS;
RESET SLAVE;
CHANGE MASTER TO
MASTER_HOST='serv3.mudoo.net',
MASTER_USER='repl',
MASTER_PASSWORD='xxxxx',
MASTER_LOG_FILE='WhatSlaveStatusSays',
MASTER_LOG_POS=WhatSlaveStatusSays;
START SLAVE;

Navigation
Toolbox