2022-11-08 11:52:13
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user