From 3567c64454903149b78fe35952e91c18c35af264 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 28 Feb 2018 20:41:35 +0100 Subject: bin/bootstrap-mysql: grant create temporary tables to webserver@localhost --- bin/bootstrap-mysql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index a172d82..b23bba4 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -304,7 +304,8 @@ if [ ! "$1" = 'slim' ]; then 'SELECT' 'buildmaster.*' \ 'SHOW VIEW' 'buildmaster.*' \ 'UPDATE' 'buildmaster.*' - printf 'GRANT %s ON %s TO '"'"'http'"'"'@'"'"'localhost'"'"';\n' \ + printf 'GRANT %s ON %s TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \ + 'CREATE TEMPORARY TABLES' 'buildmaster.*' \ 'SELECT' 'buildmaster.*' \ 'SHOW VIEW' 'buildmaster.*' printf 'FLUSH PRIVILEGES;\n' -- cgit v1.2.3-70-g09d2