Question

When i tried to add a connection pool it gave me an error

It gave me this error below and i used the connection string it gave me

Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42P05), message: "prepared statement \"s15\" already exists", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("prepare.c"), line: Some(446), routine: Some("StorePreparedStatement") }) }) })

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
February 3, 2023

Hello @austinlee

You can share the connection string so we can check this. Looking at the error itself the string might be misformatted or have duplicate values

prepared statement \"s15\" already exists

Docs on how to connect to managed PostgreSQL cluster.

https://docs.digitalocean.com/products/databases/postgresql/how-to/connect/

Regards

KFSys
Site Moderator
Site Moderator badge
February 3, 2023

Hi @austinlee,

Can you please give a little bit more information on what are you using, what are the exact configurations you’ve done and if you are using a tool to connect?

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.