Created
May 23, 2017 14:51
-
-
Save futeng/d8addf661006cd64fcd653a7baa68583 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET SQL_LOG_BIN=0; | |
CREATE USER rpl_user@'%'; | |
GRANT REPLICATION SLAVE ON *.* TO rpl_user@'%' IDENTIFIED BY 'rpl_pass'; | |
SET SQL_LOG_BIN=1; | |
CHANGE MASTER TO MASTER_USER='rpl_user', MASTER_PASSWORD='rpl_pass' FOR CHANNEL 'group_replication_recovery'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment