## What was reported

Issue neondatabase/serverless#30 (closed, 10 comments): @skyzh's report:


The serverless driver will timeout instead of reporting any error if the user did not configure the database URL. It seems that the driver will try connecting to YOUR_HOST:5432 if the database URL is not configured, and it will timeout. This looks like the default behavior for pg library but I don’t think it makes sense if people are using the serverless driver as they are always connecting to an external provider? I feel it would be better to give a warning / throw an error in the serverless driver in case that the database endpoint is not configured?

## The verified resolution

[jawj (maintainer)]: As of driver 0.5.2, the driver throws an error when it detects default connection parameters (missing DATABASE_URL / host), instead of hanging until the edge function times out (EDGE_FUNCTION_INVOCATION_TIMEOUT with no useful logs). Reporter confirmed it now fails fast. Anyone who genuinely wants the defaults can explicitly set `host`, `connectionString`, or `PGHOST`.