Update index.py

pull/579/head
Mr Chen 12 months ago
parent e546428596
commit fbdbb25a78
  1. 2
      plugins/mariadb/index.py

@ -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;')

Loading…
Cancel
Save