You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexander Demidov 96c811950f + port to remote config 9 months ago
.gitignore * config example rename 1 year ago
.my.cnf-example usefully example naming 1 year ago
.remote.my.cnf-example + port to remote config 9 months ago
README.md + readme 1 year ago
_activate-master-to-master.sh * correct use extra files between set slave and set master-to-master replication 1 year ago
_activate-slave.sh + port to remote config 9 months ago
_dump.sh * use config without underscore 1 year ago
config.sh-example * config example rename 1 year ago
replication-master-to-master.sh * separate start master-to-master replication 1 year ago
start-replication.sh + port to remote config 9 months ago

README.md

General notes

Script for fast launch mysql/mariadb replication between two servers. Support only Master-Slave replication.

TODO

  • optionally for master-master replication

Launch replication

  • prepare configs in .my.cnf and .remote.my.cnf
  • create _config.sh and chose who is databases has replication
  • launch start-replication.sh

You may use tee for intercept error to log like: ./start-replication.sh 2>&1 | tee -a replication.log