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
|
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 | |
dump.sh | 5 years ago | |
example_config.sh | 4 years ago | |
readbinlog.sh | 4 years ago | |
start-replication.sh | 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