get connect info from environment variables
likewise get db connection info from environment variables