From f9c180ee7e646c0cf6c45e413a7a422039e61581 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 26 Jun 2019 09:02:18 +0200 Subject: bin/bootstrap-mysql: grant access for webserver, too (we replicate mysql users now to the replication slaves, too) --- bin/bootstrap-mysql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/bootstrap-mysql') diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index a142715..645f7b4 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -788,6 +788,8 @@ fi printf 'GRANT %s ON %s TO '"'"'mysqldump'"'"'@'"'"'localhost'"'"';\n' \ 'RELOAD' '*.*' \ 'FILE' '*.*' + printf 'GRANT %s ON `buildmaster`.* TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \ + 'SELECT' printf 'FLUSH PRIVILEGES;\n' fi } | \ -- cgit v1.2.3