Guest User

Untitled

a guest
Nov 21st, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # master
  2. # SQL: grant replication slave on *.* to 'replication'@10.0.0.2 identified by 'replica_secret'
  3. log_bin = /var/log/mysql/mysql-bin.log
  4. binlog-do-db = dbrepl
  5. server-id = 1
  6.  
  7. # slave
  8. server-id = 2
  9. master-host = 10.0.0.1
  10. master-user = replication
  11. master-password = replica_secret
Add Comment
Please, Sign In to add comment