From 1d731e5c3064fe29e840c6b4afa56af415419423 Mon Sep 17 00:00:00 2001 From: amree Date: Thu, 6 Mar 2014 12:19:54 +0800 Subject: [PATCH] MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value --- library/database/mysql_replication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: