From ea94fa21d56ca73ab5716b5e44933f3d2ccbb3aa Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 16 May 2024 16:14:51 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 243d4f245..038e60033 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -2400,8 +2400,8 @@ def getMasterRepSlaveUserCmd(version): clist[0]['username'] + "', MASTER_PASSWORD='" + \ clist[0]['password'] + "', MASTER_AUTO_POSITION=1" + channel_name - sql += "
" - + sql += "

" + sql += "CHANGE MASTER TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \ clist[0]['username'] + "', MASTER_PASSWORD='" + \ clist[0]['password'] + \