Re: Connect failed to database

2015-03-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 2 Mar 2015, Dan LaSota wrote: connect = host=localhost dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh' Honestely, I do not know whether and how you have / can quote strings, but try: 1) to not quote at all 2) u

Re: Connect failed to database

2015-03-02 Thread Dan LaSota
Thanks for the auggestion. I did indeed have a dollar sign in there. No longer the case. I also changed 'localhost' to the pathname to the unix socket file as well. I'm now onto the next misconfiguration! > On Mar 2, 2015, at 11:20 AM, Oliver Welter wrote: > > Am 02.03.2015 um 19:30 schrieb D

Re: Connect failed to database

2015-03-02 Thread Oliver Welter
Am 02.03.2015 um 19:30 schrieb Dan LaSota: Just some quick ideas * check if the mysql socket file has rw permissions for the dovecot user # ls -l /var/lib/mysql/mysql.sock srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock * Try to run the mysql query as user dovecot (su dove

Re: Connect failed to database

2015-03-02 Thread Reindl Harald
Am 02.03.2015 um 19:53 schrieb Dan LaSota: still doesn't work: Mar 2 04:58:48 mail dovecot: auth-worker(5745): Error: mysql(127.0.0.1): Connect failed to database (servermail): Access denied for user 'usermail'@'localhost' (using password: YES) - waiting for 1 sec

Re: Connect failed to database

2015-03-02 Thread Dan LaSota
>> >> still doesn't work: >> Mar 2 04:58:48 mail dovecot: auth-worker(5745): Error: mysql(127.0.0.1): >> Connect failed to database (servermail): Access denied for user >> 'usermail'@'localhost' (using password: YES) - waiting for 1 secon

Re: Connect failed to database

2015-03-02 Thread Reindl Harald
th-worker(5745): Error: mysql(127.0.0.1): Connect failed to database (servermail): Access denied for user 'usermail'@'localhost' (using password: YES) - waiting for 1 seconds before retry that is a pretty clear message the username / password / host is wrong, fix your m

Re: Connect failed to database

2015-03-02 Thread Dan LaSota
t = host=127.0.0.1 dbname=servermail user='usermail' password='gjwslegosoghjshloehg$_jsdgh' still doesn't work: Mar 2 04:58:48 mail dovecot: auth-worker(5745): Error: mysql(127.0.0.1): Connect failed to database (servermail): Access denied for user 'usermail'@&#x

Re: Connect failed to database

2015-03-01 Thread Steffen Kaiser
-worker(2224): Error: mysql(localhost): Connect failed to database (servermail): Access denied for user 'usermail'@'localhost' (using password: YES) - waiting for 5 seconds before retry Just some quick ideas * check if the mysql socket file has rw permissions for the dovecot u

Re: Connect failed to database

2015-03-01 Thread Oliver Welter
Am 02.03.2015 um 06:03 schrieb Dan LaSota: I have dovecot version 2.2.10 dovecot -n output below I am seeing connection errors being written to my dovecot error log: Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost): Connect failed to database (servermail): Access denied

Connect failed to database

2015-03-01 Thread Dan LaSota
I have dovecot version 2.2.10 dovecot -n output below I am seeing connection errors being written to my dovecot error log: Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost): Connect failed to database (servermail): Access denied for user 'usermail'@'lo