We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e721fb9 commit 403a65dCopy full SHA for 403a65d
scripts/run.sh
@@ -225,9 +225,7 @@ function create_replication_user() {
225
else
226
log "INFO" "Replication user exists. Skipping creating new one......."
227
# Update replication channel password if it has been changed via RotateAuth
228
- retry 120 ${mysql} -N -e "STOP group_replication;"
229
- retry 120 ${mysql} -N -e "CHANGE MASTER TO MASTER_USER='repl', MASTER_PASSWORD='$MYSQL_ROOT_PASSWORD' FOR CHANNEL 'group_replication_recovery';"
230
- retry 120 ${mysql} -N -e "START group_replication;"
+ retry 120 ${mysql} -N -e "CHANGE MASTER TO MASTER_USER='repl', MASTER_PASSWORD='$MYSQL_ROOT_PASSWORD' FOR CHANNEL 'group_replication_recovery';"
231
fi
232
touch /scripts/ready.txt
233
}
0 commit comments