2022-11-08 11:52:13

This commit is contained in:
2022-11-08 11:52:14 -05:00
parent 7d52d88723
commit 3287ec3afa
2 changed files with 5 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ done
if [[ $MASTER_HOST && $MASTER_USER && $MASTER_PASSWORD ]]; then
hecko "\napplying configuration for replication\n\thost: $MASTER_HOST\n\tuser: $MASTER_USER"
xct "mysql -e 'CHANGE MASTER TO master_host=$MASTER_HOST,master_user=$MASTER_USER,master_password=$MASTER_PASSWORD;'"
xct 'mysql -e "CHANGE MASTER TO master_host=$MASTER_HOST,master_user=$MASTER_USER,master_password=$MASTER_PASSWORD;"'
else
hecko "\nwarning: replication credentials not present; this might be bad if replication host is not already configured"
fi