Skip to content

Instantly share code, notes, and snippets.

@chfw
Created December 11, 2018 09:07
Show Gist options
  • Save chfw/d11eb7bd8f478eede112c8e316ca3a7f to your computer and use it in GitHub Desktop.
Save chfw/d11eb7bd8f478eede112c8e316ca3a7f to your computer and use it in GitHub Desktop.
database replication using mariadb
https://www.tecmint.com/mariadb-master-slave-replication-on-centos-rhel-debian/
CHANGE MASTER TO MASTER_HOST='10.154.0.2' MASTER_USER='slave' MASTER_PASSWORD='SlavePassword' MASTER_PORT=3306 MASTER_LOG_FILE='mariadb-bin.000001' MASTER_LOG_POS=602 MASTER_CONNECT_RETRY=10;
MASTER_USE_GTID=current_pos is deprecated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment