Thanks, this fixed the problem for me. I found that you can also test if the maintenance user has its permissions set correctly with the following so you don't have to wait for cron to run it to see if the problem's fixed.
mysqladmin --defaults-file=/etc/mysql/debian.cnf ping