diff --git a/library/database/mysql_replication b/library/database/mysql_replication index f18060e955..fdbb379371 100644 --- a/library/database/mysql_replication +++ b/library/database/mysql_replication @@ -325,7 +325,7 @@ def main(): if master_password: chm.append("MASTER_PASSWORD='" + master_password + "'") if master_port: - chm.append("MASTER_PORT='" + master_port + "'") + chm.append("MASTER_PORT=" + master_port) if master_connect_retry: chm.append("MASTER_CONNECT_RETRY='" + master_connect_retry + "'") if master_log_file: