← All docs

DigitalOcean Managed Databases

DigitalOcean provides managed PostgreSQL with automated failover, backups, and scaling.

Connection

Use the connection string from your DigitalOcean database cluster dashboard. SSL is required.

Setup

# Connection string from DigitalOcean dashboard
migrationpilot analyze migration.sql \
  --database-url "postgresql://doadmin:pass@db-pg-nyc1-12345-do-user.b.db.ondigitalocean.com:25060/defaultdb?sslmode=require"

Tips

  • DigitalOcean supports PostgreSQL 13-16
  • Connection pooling is available via PgBouncer in the cluster settings
  • Use the private network URI for CI runners deployed on DigitalOcean
  • Trusted sources can restrict database access to specific IP addresses or droplets