db config file, auto-reconnect