switched db in connect