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
6e1114a170
|
4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
.my.cnf-example | 5 years ago | |
.remote.my.cnf-example | 5 years ago | |
README.md | 4 years ago | |
_activate-master-to-master.sh | 4 years ago | |
_activate-slave.sh | 4 years ago | |
_config.sh-example | 4 years ago | |
_dump.sh | 4 years ago | |
start-replication.sh | 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