Update index.py

This commit is contained in:
2026-11-03 22:37:34 +08:00
parent 56f7edcb55
commit d0b622906f

View File

@@ -2698,8 +2698,7 @@ def addMasterRepSlaveUser(version=''):
if isError != None:
return isError
else:
sql = "grant replication SLAVE ON *.* TO '" + username + \
"'@'%' identified by '" + password + "';"
sql = "grant replication SLAVE ON *.* TO '" + username + "'@'%' identified by '" + password + "';"
result = pdb.execute(sql)
isError = isSqlError(result)
if isError != None: