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.
dimti ab39087868 + readme 4 years ago
.gitignore + databases var into example bash-config 4 years ago
.my.cnf-example usefully example naming 5 years ago
.remote.my.cnf-example usefully example naming 5 years ago
README.md + readme 4 years ago
dump.sh Initial commit 5 years ago
example_config.sh + databases var into example bash-config 4 years ago
readbinlog.sh * fix multiline copy paste 4 years ago
start-replication.sh Initial commit 5 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