From a35660a01b092259832132d4a22165dd704f5bf3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 8 Apr 2019 09:13:37 +0200 Subject: bin/bootstrap-mysql: update grants --- bin/bootstrap-mysql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index c88c3a1..344c5a0 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -776,11 +776,11 @@ fi 'SELECT' 'mysql.proc' \ 'SHOW VIEW' 'buildmaster.*' \ 'UPDATE' 'buildmaster.*' - printf 'GRANT %s ON %s TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \ - 'CREATE TEMPORARY TABLES' 'buildmaster.*' \ - 'EXECUTE' 'buildmaster.*' \ - 'SELECT' 'buildmaster.*' \ - 'SHOW VIEW' 'buildmaster.*' + printf 'GRANT %s ON %s TO '"'"'replikat'"'"'@'"'"'localhost'"'"';\n' \ + 'REPLICATION SLAVE' '*.*' + printf 'GRANT %s ON %s TO '"'"'mysqldump'"'"'@'"'"'localhost'"'"';\n' \ + 'RELOAD' '*.*' \ + 'FILE' '*.*' printf 'FLUSH PRIVILEGES;\n' fi } | \ -- cgit v1.2.3-70-g09d2