database connections for multiple environments