Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # master
- # SQL: grant replication slave on *.* to 'replication'@10.0.0.2 identified by 'replica_secret'
- log_bin = /var/log/mysql/mysql-bin.log
- binlog-do-db = dbrepl
- server-id = 1
- # slave
- server-id = 2
- master-host = 10.0.0.1
- master-user = replication
- master-password = replica_secret
Add Comment
Please, Sign In to add comment