diff options
author | Erich Eckner <git@eckner.net> | 2019-07-11 10:02:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-11 10:02:13 +0200 |
commit | 7350a144458a55ac2934bc89368441005bf25c23 (patch) | |
tree | 914422f76ad872ef526d7cee9f753280058be214 /bin | |
parent | 12a44751d35ac4a63a0bb522370f75a69816f0bf (diff) | |
download | builder-7350a144458a55ac2934bc89368441005bf25c23.tar.xz |
bin/bootstrap-mysql: webserver@localhost need REPLICATION CLIENT ON *.*
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bootstrap-mysql | 7 |
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 } | \ |