From 77598fa8a76a7b19922243a557f552caf2ca65ce Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 7 Aug 2023 19:44:47 +0800 Subject: [PATCH] Update index.py --- plugins/mariadb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index 270b69e10..74674d0d5 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -1888,7 +1888,7 @@ def getMasterRepSlaveUserCmd(version): sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \ clist[0]['username'] + "', MASTER_PASSWORD='" + \ clist[0]['password'] + "', " + "MASTER_LOG_FILE='" + mstatus[0]["File"] + \ - ",MASTER_USE_GTID=current_pos,MASTER_CONNECT_RETRY=10;" + "',MASTER_USE_GTID=current_pos,MASTER_CONNECT_RETRY=10;" else: sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \ clist[0]['username'] + "', MASTER_PASSWORD='" + \