When connecting to the database, try to use environment variables.