Wattle Cloud/DocsDashboard
All docs

Databases

Engines, connecting, backups and restores, and moving data in and out.

EngineVersionGood to know
PostgreSQL18pgvector included
MySQL8.4 LTS
MariaDB11.8 LTS
Valkey8.1Redis-compatible
ClickHouse25.8For analytics

A database keeps the version it was made with, so nothing changes under you.

Connecting from your apps

Apps in the same environment reach a database by its name on the private network, for example postgres.internal. Use a reference so the address and password are filled in for you: DATABASE_URL=${{postgres.DATABASE_URL}}.

Connecting from your computer

Turn on public access in the database's Connect tab, then:

wattle db proxy postgres      # opens it on a local port, for GUI tools
wattle db connect postgres    # straight into psql, mysql or valkey-cli

The connection goes through an encrypted tunnel; no database port is open to the internet.

The data browser and console

Console lists tables and runs queries, without opening the database to the internet. It's read-only unless you choose Allow changes, and a query stops after 15 seconds.

Backups and restores

Moving data in and out

What your database account can't do

Your account owns your data but isn't a superuser: it can't run operating system commands, read the server's files, or change server-wide settings. That keeps every customer's database safe from the others.