Error: prepared statement "XXX" already exists #17751
Locked
canumula
announced in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This error occurs when you are trying to connect to the database using PgBouncer. PgBouncer does not support prepared statements. If you have prepared statements in use, you will need to use direct connections - port 5432.
There is a special parameter in the query string for Prisma to work with PgBouncer
https://www.prisma.io/docs/guides/performance-and-optimization/connection-management/configure-pg-bouncer
Beta Was this translation helpful? Give feedback.
All reactions