Skip to content

An interesting attempt to learn mysql repliction and proxy.

Notifications You must be signed in to change notification settings

guox191/mysql-replication-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published