Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-23 09:28:08 +0100
committerErich Eckner <git@eckner.net>2018-01-23 09:28:08 +0100
commit6a6d23c6a2246007ae7a7c2b2f0b79c5d9056fb9 (patch)
treec7958c68c53a43feb6656b9bc5b155ff6798201f /bin
parentac83a4dc2c5f4dbb3310eba3651dd35e06fbd5f2 (diff)
bin/bootstrap-mysql: user "http" needs access, too
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bootstrap-mysql3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index f67b779..343e64e 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -220,6 +220,9 @@ if [ ! "$1" = 'slim' ]; then
'SELECT' 'buildmaster.*' \
'UPDATE' 'buildmaster.*' \
'RELOAD' '*.*'
+ printf 'GRANT %s ON %s TO '"'"'http'"'"'@'"'"'localhost'"'"';\n' \
+ 'SHOW VIEW' 'buildmaster.*' \
+ 'SELECT' 'buildmaster.*'
printf 'FLUSH PRIVILEGES;\n'
} | \
mysql -u root -p buildmaster