diff options
author | Erich Eckner <git@eckner.net> | 2019-06-26 09:02:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-26 09:02:18 +0200 |
commit | f9c180ee7e646c0cf6c45e413a7a422039e61581 (patch) | |
tree | 652ec1a8c3eeafbc67e1254d4f82ea02acf8d571 /bin/bootstrap-mysql | |
parent | 4ee1386a1fd722a86262323fb3435cf5f8a7f037 (diff) | |
download | builder-f9c180ee7e646c0cf6c45e413a7a422039e61581.tar.xz |
bin/bootstrap-mysql: grant access for webserver, too (we replicate mysql users now to the replication slaves, too)
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-x | bin/bootstrap-mysql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index a142715..645f7b4 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -788,6 +788,8 @@ fi printf 'GRANT %s ON %s TO '"'"'mysqldump'"'"'@'"'"'localhost'"'"';\n' \ 'RELOAD' '*.*' \ 'FILE' '*.*' + printf 'GRANT %s ON `buildmaster`.* TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \ + 'SELECT' printf 'FLUSH PRIVILEGES;\n' fi } | \ |