From e6f8e3e6e30b855ee27c9a768db8c185f36d3223 Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 14 Apr 2025 15:49:30 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-community/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql-community/index.py b/plugins/mysql-community/index.py index 885e2c8cb..229d6d631 100755 --- a/plugins/mysql-community/index.py +++ b/plugins/mysql-community/index.py @@ -2213,7 +2213,7 @@ def getMasterRepSlaveUserCmd(version): if sid != '': channel_name = " for channel 'r{}'".format(sid) - mdb8 = ['8.0','8.1','8.2','8.3','8.4'] + mdb8 = getMdb8Ver() sql = '' if not mw.inArray(mdb8,version): base_sql = "CHANGE MASTER TO MASTER_HOST='" + ip + "', MASTER_PORT=" + port + ", MASTER_USER='" + \