|
@ -0,0 +1,16 @@ |
|
|
|
|
|
# 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` |