Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-08 09:13:37 +0200
committerErich Eckner <git@eckner.net>2019-04-08 09:13:37 +0200
commita35660a01b092259832132d4a22165dd704f5bf3 (patch)
treebbb5dc3ebcde9169376670c672bbc38c6e39f49f /bin/bootstrap-mysql
parent6ea53e32d1cece3b28f71e08ae38e7d72359f1a8 (diff)
bin/bootstrap-mysql: update grants
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index c88c3a1..344c5a0 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -776,11 +776,11 @@ fi
'SELECT' 'mysql.proc' \
'SHOW VIEW' 'buildmaster.*' \
'UPDATE' 'buildmaster.*'
- printf 'GRANT %s ON %s TO '"'"'webserver'"'"'@'"'"'localhost'"'"';\n' \
- 'CREATE TEMPORARY TABLES' 'buildmaster.*' \
- 'EXECUTE' 'buildmaster.*' \
- 'SELECT' 'buildmaster.*' \
- 'SHOW VIEW' 'buildmaster.*'
+ printf 'GRANT %s ON %s TO '"'"'replikat'"'"'@'"'"'localhost'"'"';\n' \
+ 'REPLICATION SLAVE' '*.*'
+ printf 'GRANT %s ON %s TO '"'"'mysqldump'"'"'@'"'"'localhost'"'"';\n' \
+ 'RELOAD' '*.*' \
+ 'FILE' '*.*'
printf 'FLUSH PRIVILEGES;\n'
fi
} | \