LanguageGB
Databases

Connect with psql, TablePlus or DBeaver

Reach your database from your own machine, with your own tools.

What this covers

Your database is published on a TLS-only endpoint, db.cmcloudhosting.com on port 5432. Your app connects through the same endpoint, so external access is on from the moment the database is created, and you can use it from your laptop as well.

Before you start

Decide whether you want this on. Your own client has full read and write access — unlike the console in the dashboard, which is read-only. Anyone holding these credentials can change or delete your data.

How to do it

  1. Open the Connection tab and check that Allow connections from outside CM Cloud is on. It is on for new databases.
  2. Select Show connection details and copy the host, port, database, user and password.
  3. In TablePlus or DBeaver, create a PostgreSQL connection and paste those values. Set SSL mode to Require or Verify Full.
  4. For the terminal, copy the psql command shown on the same tab.
  5. Leave external access on: your app connects through the same endpoint, so turning it off cuts your app off as well.

What our team checks

Support can confirm the endpoint is reachable and that TLS is being negotiated, but cannot see or reset your client's own configuration.

Next step

Turn on external access, connect once with your tool to confirm it works, and decide whether to leave it on.

Contact Support