diff options
author | Erich Eckner <git@eckner.net> | 2018-02-28 20:41:35 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-28 20:41:35 +0100 |
commit | 3567c64454903149b78fe35952e91c18c35af264 (patch) | |
tree | 8977c1b21348853bf97103751a45fdbe8b28baf9 | |
parent | cbafb5816805fb00f3d309e99e4477d17e0607d4 (diff) | |
download | builder-3567c64454903149b78fe35952e91c18c35af264.tar.xz |
bin/bootstrap-mysql: grant create temporary tables to webserver@localhost
-rwxr-xr-x | bin/bootstrap-mysql | 3 |
1 files changed, 2 insertions, 1 deletions
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' |