get database url from environment.