Displaying 1 result from an estimated 1 matches for "some_query".
Did you mean:
name_query
2010 Nov 16
1
Multiple MYSQL hosts as passdb backend
...conf:
passdb {
driver = sql
args = /etc/dovecot/mysql.conf
}
and mysql.conf:
default_pass_scheme = PLAIN
driver = mysql
connect = host=10.0.0.3 host=10.0.0.4 dbname=some_database user=some_user
password=some_password
password_query = some_query
Everything works fine as long as 10.0.0.3 is up and running. However, when I
shutdown mysql server on 10.0.0.3, dovecot won't even try the other host
10.0.0.4 as it is told to do in the conf.
My dovecot verbose log says:
Nov 16 14:29:24 auth: Error: mysql: Query failed, retrying: MySQL serve...