Skip to main content
Square Cloud Databases service overview

Why choose Square Cloud?

Managed PostgreSQL, MySQL, MongoDB and Redis instances, provisioned in a couple of clicks and reachable over an encrypted, certificate-authenticated connection. You get a production database without tuning a server, managing backups or paying for the bandwidth your app moves.

NVMe-backed storage

Instances run on enterprise NVMe SSDs, where random-read latency dominates real-world query performance, so indexed lookups and write-heavy workloads stay fast.

Zero network fees

No ingress or egress charges. Read and write as much as your application needs without a metered-bandwidth bill, a cost that quietly dominates on most cloud providers.

Instant snapshots

One-click restore points included at no extra cost. Recover from a bad migration or accidental delete without leaving the dashboard.

Encrypted by default

Instances only accept SSL/TLS connections with Square Cloud-managed certificates. Plaintext connections are refused, so your data is encrypted in transit without any extra configuration.

Supported databases

Every engine comes configured and ready to connect.

PostgreSQL

MongoDB

MySQL

Redis

Versions

How do I host my database?

You need an active Standard plan or higher. For a full walkthrough with connection code in Node.js and Python, follow Create and connect a managed database. In short:
1

Create a new database instance

Open the Databases page and click “Create Database”.
2

Setting up your database instance

Pick the engine and fill in the name and the RAM.
3

Finish your instance creation

Click “Create”. In a few seconds the database is ready, and its connection details are on its page in the dashboard.

How do I connect to my database?

Databases only accept encrypted connections authenticated with a certificate. To connect:
1

Get the credentials and certificates

Open the database in the dashboard, copy the connection URL (host, port, username and password) and download the certificates.
2

Connect over SSL/TLS

Connect with your preferred client or library, with SSL/TLS enabled and the certificates set as the CA (root) certificate and as the client certificate and key.
Most clients only need the .pem. Some ask for the .key and .cert files separately, or for a .p12.
3

Start using your database

You’re ready to store and query data. Follow the database’s performance and usage in the Square Cloud dashboard.

Something went wrong?

Database connection errors

Fix SSL/TLS errors, timeouts, ECONNREFUSED, MySQL “Host is not allowed” and MongoDB network errors.

Frequently asked questions

PostgreSQL, MySQL, MongoDB and Redis, all pre-configured and ready to connect.
Database hosting requires an active Standard plan or higher.