From 59f954b349a36413e1a7c33d78e81dc69a381452 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 --- database/mysql_replication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mysql_replication b/database/mysql_replication index f18060e9556..fdbb379371a 100644 --- a/database/mysql_replication +++ b/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: