Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bootstrap-mysql7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 967a65d..e94c5d2 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -826,9 +826,10 @@ fi
printf 'GRANT %s ON %s TO '"'"'mysqldump'"'"'@'"'"'localhost'"'"';\n' \
'RELOAD' '*.*' \
'FILE' '*.*'
- printf 'GRANT %s ON `buildmaster`.* TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \
- 'CREATE TEMPORARY TABLES' \
- 'SELECT'
+ printf 'GRANT %s ON %s TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \
+ 'CREATE TEMPORARY TABLES' '`buildmaster`.*' \
+ 'SELECT' '`buildmaster`.*' \
+ 'REPLICATION CLIENT' '*.*'
printf 'FLUSH PRIVILEGES;\n'
fi
} | \