Update index.py

This commit is contained in:
dami
2025-04-14 15:49:30 +08:00
parent 952c6da41c
commit e6f8e3e6e3
+1 -1
View File
@@ -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='" + \