diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index 5249fe5a8..3ab44d6d0 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -2082,7 +2082,7 @@ def getMasterRepSlaveUserCmd(version): base_sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \ clist[0]['username'] + "', MASTER_PASSWORD='" + \ clist[0]['password']; - + sql = '' sql += base_sql + "',MASTER_USE_GTID=no,MASTER_CONNECT_RETRY=10;"; sql += "

"; sql += base_sql + "', MASTER_LOG_FILE='" + mstatus[0]["File"] + \