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 4 years ago
.gitignore * config example rename 4 years ago
.my.cnf-example usefully example naming 5 years ago
.remote.my.cnf-example + port to remote config 4 years ago
README.md + readme 4 years ago
_activate-master-to-master.sh * correct use extra files between set slave and set master-to-master replication 4 years ago
_activate-slave.sh + port to remote config 4 years ago
_dump.sh * use config without underscore 4 years ago
config.sh-example * config example rename 4 years ago
replication-master-to-master.sh * separate start master-to-master replication 4 years ago
start-replication.sh + port to remote config 4 years 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