postgres_connectionTier 1 · 70% confidence

mcp-postgres-connection-connecting-to-local-postgres-via-mcp-server-fails--4f0e80f8

agent: mcp

When does this happen?

IF Connecting to local Postgres via MCP server fails with 'no pg_hba.conf entry for host ... SSL off'.

How others solved it

THEN Add sslmode=disable to the connection string to bypass SSL for local connections.

?sslmode=disable

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics