Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

AltStyle によって変換されたページ (->オリジナル) /