From fbdbb25a7881d17f67008e3bce0481f87783db79 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 23 May 2024 10:36:10 +0800 Subject: [PATCH] Update index.py --- plugins/mariadb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index 4be00bf13..a7d44280f 100755 --- a/plugins/mariadb/index.py +++ b/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;')