Update index.py

This commit is contained in:
Mr Chen
2024-05-23 10:36:10 +08:00
parent e546428596
commit fbdbb25a78
+1 -1
View File
@@ -1948,7 +1948,7 @@ def addMasterRepSlaveUser(version=''):
if isError != None:
return isError
sql_select = "grant select,lock tables,PROCESS on *.* to " + username + "@'%';"
sql_select = "grant select,reload,REPLICATION CLIENT,PROCESS on *.* to " + username + "@'%';"
pdb.execute(sql_select)
pdb.execute('FLUSH PRIVILEGES;')