EasyCloudify
Solutions
  • Cloud PlatformImprove team productivity and integrate popular workflow applications.
  • Cloud Servers (VPS)NVMe SSD servers deployed in under 60 seconds.
  • Object StorageS3-compatible storage with built-in global CDN.
  • Managed DatabasesManaged PostgreSQL, MySQL, MongoDB, Valkey, Kafka & OpenSearch.
  • Managed WordPressManaged WordPress hosting, so you can focus on your business.
  • MarketplaceFind an app that suits you, then spin it up in 60 seconds or less.
  • Mail HostingPrivacy First Email Hosting for your business.
  • SEO & AI Visibility AuditAudit your site for SEO and AI answer engine visibility.
  • SecurityRock-solid application security for your peace of mind.
  • Register DomainsRegister your domain with us and get started.
Company
  • About
  • Legal
Resources
  • Blog
  • Guides
  • Status
Get Started
  • Contact Sales
  • Pricing
  • Dashboard
EasyCloudifyEasyCloudify
PricingContact
Log inStart deploying
EasyCloudify logoEasyCloudify

Fully managed cloud infrastructure — deploy in minutes, not days.

Newsletter

The latest news, articles, and resources — delivered weekly.

Product

  • Cloud Platform
  • Marketplace
  • Managed WordPress
  • Mail Hosting
  • Security

Support

  • Open a Ticket
  • Documentation
  • Contact Sales
  • System Status

Company

  • About
  • Global Infrastructure
  • Blog
  • Pricing

Legal

  • Terms of Service
  • Privacy Policy
  • Acceptable Use
  • All Legal Docs

  • Cloud Platform
  • Marketplace
  • Managed WordPress
  • Mail Hosting
  • Security

  • Open a Ticket
  • Documentation
  • Contact Sales
  • System Status

8 The Green, Suite A, Dover DE 19901, USA
+1 (302) 534-3122

© 2026 EasyCloudify LLC. All rights reserved.

Rated on Trustpilot
Terms of ServicePrivacy PolicyAcceptable Use
EasyCloudifyDocs
⌘K
Managed Databases — Overview, Engines & PlansCreate a Database Cluster — Step-by-StepConnect to Your Managed Database — URIs, SSL & DriversDatabase Users & Logical DatabasesConnection Pooling — PgBouncer for PostgreSQL & MySQLDatabase Firewall & Trusted SourcesDatabase Monitoring & Performance InsightsDatabase Backups & RestoreDatabase Read Replicas — Scale Reads & Isolate WorkloadsDatabase Log Forwarding — Datadog, OpenSearch, Papertrail, rsyslogDatabase Events — Cluster Activity TimelineDatabase Maintenance & Scaling — Window, Resize, Migrate, Destroy
HomeDocsManaged DatabasesConnect to Your Managed Database — URIs, SSL & Drivers
5 min read·Updated 2026-05-19

Connect to Your Managed Database

TL;DR — Every managed cluster exposes a Connection tab with a ready-to-paste URI, a password, and individual host / port / database / user fields. Public access is on; pair it with a firewall rule for your servers. Private (VPC) URIs are available for servers in the same region.

Where to Find Connection Details

  1. Go to /cloudpanel/databases
  2. Click the cluster name
  3. Open the Connection tab

You'll see two columns:

  • Public Connection — reachable from the internet (subject to firewall rules)
  • Private Connection (VPC) — reachable only from EasyCloudify resources in the same region, no public exposure

Each row has a copy button. Secret fields (URI, password) have a show / hide eye toggle.

Fields You Will See

FieldWhat It Is
Connection URIA complete driver-ready string. Paste straight into your app's DATABASE_URL.
HostThe server hostname (used if you build the URI yourself)
Port5432 PostgreSQL, 3306 MySQL, 27017 MongoDB, 25061 Valkey, 25060 Kafka, 25062 OpenSearch (defaults — always check the UI)
DatabaseDefault logical database (defaultdb for SQL engines, admin for MongoDB)
UserDefault admin user (doadmin)
PasswordThe admin user's password
SSL Moderequire for all engines — encryption is mandatory

Public vs. Private (VPC)

PublicPrivate (VPC)
Reachable fromAnywhere (subject to firewall)Only same-region EasyCloudify resources
EncryptionTLS requiredTLS required
LatencyInternet pathBackplane (lowest)
Use forLocal dev, CI, third-party tools, multi-region appsProduction apps colocated with the DB

Always prefer the private URI for production traffic when your app is in the same region. It is faster, never traverses the public internet, and removes the need for IP-based firewall rules for that traffic.

Connect — Common Drivers

PostgreSQL

# psql CLI
psql "postgresql://doadmin:PASSWORD@HOST:25060/defaultdb?sslmode=require"
// Node.js (pg)
import { Pool } from 'pg'
const pool = new Pool({ connectionString: process.env.DATABASE_URL })
# Python (psycopg)
import psycopg
with psycopg.connect(os.environ["DATABASE_URL"]) as conn:
    ...

MySQL

# mysql CLI
mysql --host=HOST --port=25060 --user=doadmin --password=PASSWORD \
      --ssl-mode=REQUIRED defaultdb
// Node.js (mysql2)
import mysql from 'mysql2/promise'
const conn = await mysql.createConnection({
  uri: process.env.DATABASE_URL,
  ssl: { rejectUnauthorized: true },
})

MongoDB

// Node.js (mongodb)
import { MongoClient } from 'mongodb'
const client = new MongoClient(process.env.MONGODB_URI, { tls: true })
await client.connect()

The URI starts with mongodb+srv:// and includes ssl=true automatically.

Valkey (Redis-compatible)

# valkey-cli or redis-cli
redis-cli -u "rediss://default:PASSWORD@HOST:25061"

Note the rediss:// scheme (double s) — that's the TLS variant. Your library may also accept tls: true as an option.

// Node.js (ioredis)
import Redis from 'ioredis'
const redis = new Redis(process.env.VALKEY_URL, { tls: {} })

Kafka

Kafka clusters expose a bootstrap URL (kafka-cluster.example:25060) and a CA certificate + client certificate / key for mutual TLS. Download the certs from the Connection tab and configure your Kafka client to use SASL_SSL.

OpenSearch

curl --user doadmin:PASSWORD \
     "https://HOST:25060/_cluster/health?pretty"

OpenSearch uses HTTPS Basic Auth with the admin credentials.

Connection Pooling

For PostgreSQL and MySQL, never let your application open more connections than the cluster can handle. Use the built-in Connection Pools feature (PgBouncer):

  • Open the Pools tab on your cluster
  • Create a pool — pick a name, mode, size, user, and database
  • Use the pool URI instead of the direct DB URI in your app

See Connection Pooling for the full guide.

SSL / TLS

All engines require TLS. You normally don't need to do anything extra — the URI's sslmode=require (PostgreSQL / MySQL) and tls=true (MongoDB / Valkey) handles it.

If your runtime complains about an unknown CA certificate, download the CA cert from the Connection tab and supply it to your driver. Most languages let you set the CA via an environment variable or a configuration option.

Securing Connections

  1. Add firewall rules. Only allow your application servers, your team's office IP, and any required third-party CIDRs. See Firewall & Trusted Sources.
  2. Use the private URI from your app. Removes public exposure entirely.
  3. Don't use the default doadmin user from your application code. Create a least-privilege user in the Users tab. See Users & Databases.
  4. Rotate credentials annually. Reset application user passwords on a schedule.

Reading and Saving the Password

  • The admin password is always visible in the Connection tab — you can re-copy it at any time.
  • For non-admin users you create later, the password is shown only once at creation. Save it immediately.

Troubleshooting

"Connection refused" or "timed out"

  • Add your client IP to the firewall, or remove all rules (less secure, but useful for testing). If no firewall rules exist, all sources are allowed by default.
  • Check that the cluster's status is Online in the dashboard.

"SSL connection required" / "no pg_hba.conf entry"

TLS is mandatory. Add ?sslmode=require to the URI or enable TLS in your driver config.

"Authentication failed"

Re-copy the password from the Connection tab — it may have been rotated. Make sure you're using the right user (doadmin by default).

Latency is higher than expected

You may be using the public URI from a server in the same region. Switch to the Private (VPC) URI for backplane-only routing.

"Too many connections"

Set up a Connection Pool and point your app at the pool URI.


Related Guides

  • Database Users & Databases
  • Connection Pooling
  • Firewall & Trusted Sources
  • Monitoring & Performance Insights
PreviousCreate a Database Cluster — Step-by-StepNextDatabase Users & Logical Databases
On this page
  • Where to Find Connection Details
  • Fields You Will See
  • Public vs. Private (VPC)
  • Connect — Common Drivers
  • PostgreSQL
  • MySQL
  • MongoDB
  • Valkey (Redis-compatible)
  • Kafka
  • OpenSearch
  • Connection Pooling
  • SSL / TLS
  • Securing Connections
  • Reading and Saving the Password
  • Troubleshooting
  • "Connection refused" or "timed out"
  • "SSL connection required" / "no pghba.conf entry"
  • "Authentication failed"
  • Latency is higher than expected
  • "Too many connections"
  • Related Guides

Was this helpful?

AI Tools