Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-28 20:41:35 +0100
committerErich Eckner <git@eckner.net>2018-02-28 20:41:35 +0100
commit3567c64454903149b78fe35952e91c18c35af264 (patch)
tree8977c1b21348853bf97103751a45fdbe8b28baf9 /bin/bootstrap-mysql
parentcbafb5816805fb00f3d309e99e4477d17e0607d4 (diff)
bin/bootstrap-mysql: grant create temporary tables to webserver@localhost
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql3
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'