From a92331b34e10e831316abbd42b9c63a9901f57fc Mon Sep 17 00:00:00 2001 From: alban Date: Sun, 8 Oct 2017 11:40:43 +0200 Subject: [PATCH] [fix] the alternc_user mysql user show be granted ALL on dovecot_quota --- install/mysql.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/mysql.sh b/install/mysql.sh index 3cd67b9b..927b6a14 100755 --- a/install/mysql.sh +++ b/install/mysql.sh @@ -57,6 +57,7 @@ echo "Granting users..." grant="GRANT ALL ON *.* TO '$user'@'${MYSQL_CLIENT}' IDENTIFIED BY '$password' WITH GRANT OPTION; CREATE DATABASE IF NOT EXISTS $database; " grant_mail="GRANT ALL ON $database.dovecot_view TO '$alternc_mail_user'@'${MYSQL_CLIENT}' IDENTIFIED BY '$alternc_mail_password';" +grant_mail=$grant_mail"GRANT ALL ON $database.dovecot_quota TO '$alternc_mail_user'@'${MYSQL_CLIENT}' IDENTIFIED BY '$alternc_mail_password';" grant_mail=$grant_mail"GRANT SELECT ON $database.* TO '$alternc_mail_user'@'${MYSQL_CLIENT}' IDENTIFIED BY '$alternc_mail_password';"