Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JasperK's avatar

Vapor with DigitalOcean database Pool connection?

Hi, I have a Vapor application running with a connection the a PostgreSQL-database hosted access as a public network. I added these credentials:

DB_HOST=foobar-postgresql-ams3-hi-do-user-1337-0.b.db.ondigitalocean.com

DB_PORT=25060

And of course DB_USER and DB_PASSWORD.

This is working, but it's not a large database cluster, so I want to connect to a Connection Pool.

When I pick the Host and Port from the Connection details, it doesn't connect like it should.

Anyone tips how I can connect to a Database via the Connection Pool?

0 likes
0 replies

Please or to participate in this conversation.