database · inferred from evidence
PostgreSQL
A relational database management system that supports extensions like pgcrypto.
- prepared statement "s0" already exists
Fixes the Prisma error 'prepared statement already exists' (Postgres code 42P05) when connecting through PgBouncer in transaction mode, by adding pgbouncer=true to the connection string so Prisma stops using prepared statements. Use when qu
- Drift detected: Your database schema is not in sync with your migration history
Fixes the Prisma 'Drift detected: Your database schema is not in sync with your migration history' error by deciding whether the database or the migration history is the source of truth, then reconciling the two. Use when migrate dev refuse
- P3005: The database schema is not empty.
Fixes Prisma error P3005 'The database schema is not empty' during migrate deploy by baselining the existing database: mark the initial migration as already applied with migrate resolve --applied instead of letting migrate try to create tab
- Timed out fetching a new connection from the connection pool.
Fixes Prisma error P2024 'Timed out fetching a new connection from the connection pool' by finding the connection leak or pool exhaustion: use a single PrismaClient instance, size connection_limit to the workload, and route serverless traff
- P1001: Can't reach database server at `YOUR_HOST`:`5432`
Fixes Prisma error P1001 'Can't reach database server' by diagnosing which part of the connection path is wrong: host, port, pooler mode, or a server that is not actually running. Use when Prisma fails to open any connection at all. Not for
- Postgres MCP: MCP error -32603 self-signed certificate in certificate chain (RDS)
Fixes the Postgres MCP server failing against AWS RDS with a self-signed certificate error. Use when tool calls fail with MCP error -32603: self-signed certificate in certificate chain against RDS or another SSL-mandatory host. Not for wron