diff options
author | Erich Eckner <git@eckner.net> | 2018-01-23 09:28:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-23 09:28:08 +0100 |
commit | 6a6d23c6a2246007ae7a7c2b2f0b79c5d9056fb9 (patch) | |
tree | c7958c68c53a43feb6656b9bc5b155ff6798201f /bin/bootstrap-mysql | |
parent | ac83a4dc2c5f4dbb3310eba3651dd35e06fbd5f2 (diff) | |
download | builder-6a6d23c6a2246007ae7a7c2b2f0b79c5d9056fb9.tar.xz |
bin/bootstrap-mysql: user "http" needs access, too
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-x | bin/bootstrap-mysql | 3 |
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 |