From 8c00fb88593bc4d450c858fbb6c2810615155b1f Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 7 Aug 2023 20:42:08 +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 4b94e8c07..ad82fb2cf 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -1887,7 +1887,7 @@ def getMasterRepSlaveUserCmd(version): # MASTER_USE_GTID={current_pos|slave_pos|no} # current_pos 依赖-> select @@global.gtid_current_pos; # slave_pos 依赖-> select @@global.gtid_slave_pos; - # no -> 啥都不依赖,保证多主同步成功。同步出问题,根据日志查找问题。 + # no -> 啥都不依赖,保证多主同步成功。同步出现问题,根据日志查找问题。 if mode == "gtid": sql = "CHANGE MASTER " + connection_name + "TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \