From 7350a144458a55ac2934bc89368441005bf25c23 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 11 Jul 2019 10:02:13 +0200 Subject: bin/bootstrap-mysql: webserver@localhost need REPLICATION CLIENT ON *.* --- bin/bootstrap-mysql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/bootstrap-mysql') diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index 967a65d..e94c5d2 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -826,9 +826,10 @@ fi printf 'GRANT %s ON %s TO '"'"'mysqldump'"'"'@'"'"'localhost'"'"';\n' \ 'RELOAD' '*.*' \ 'FILE' '*.*' - printf 'GRANT %s ON `buildmaster`.* TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \ - 'CREATE TEMPORARY TABLES' \ - 'SELECT' + printf 'GRANT %s ON %s TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \ + 'CREATE TEMPORARY TABLES' '`buildmaster`.*' \ + 'SELECT' '`buildmaster`.*' \ + 'REPLICATION CLIENT' '*.*' printf 'FLUSH PRIVILEGES;\n' fi } | \ -- cgit v1.2.3