diff --git a/install/mysql.sh b/install/mysql.sh index 97d7d9f5..3b9f9a19 100755 --- a/install/mysql.sh +++ b/install/mysql.sh @@ -59,41 +59,56 @@ 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 SELECT ON $database.* TO '$alternc_mail_user'@'${MYSQL_CLIENT}' IDENTIFIED BY '$alternc_mail_password';" -echo -n "Trying debian.cnf: " -mysql="/usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf" -# If this call fail, we may be connected to a mysql-server version 5.0. -# In that case, change mysql parameters and retry. Use root / nopassword. -if ! $mysql <