Configure database connections