Sets up DB environment variables to use for database connections.