Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql-replication-starter

An interesting attempt to learn mysql repliction and proxy.

Overview

  1. Create slave user in master, used to visit master node in salve. You need grant replication slave privileges.

  2. Make sure that all databases needed to do replication is same in master and slaves;

  3. Set mysql config. The key fields are bind-address, server-id, log_bin, binlog_do_db, and relay-log(only in slaves) etc.

  4. Run start commands. CHANGE MASTER ... and START SLAVE.

References

About

An interesting attempt to learn mysql repliction and proxy.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors