Mysql Master

[mysqld]

log-bin = master-bin
log-bin-index = master-bin.index
server-id = 1

Grant the user to retrieve the binary log from the master

mysql>CREATE USER repl_user;
GRANT REPLICATION SLAVE ON *.* TO repl_user IDENTIFIED BY 'xyzzy';

Related