RimbraDocs

Create a database

Managed PostgreSQL, MySQL and Redis that run next to your apps.

Engines

EngineVersionGood for
PostgreSQL16Most apps. Works with Prisma, Drizzle, Django, Rails and Laravel
MySQL8.4Laravel, WordPress and other PHP apps
Redis7Caching, sessions, queues and rate limits

Create one

  1. 1Open Hosting → Database and choose Create database.
  2. 2Pick PostgreSQL, MySQL or Redis and give it a name.
  3. 3Choose Create. It is ready in a few seconds.
  4. 4Open it to see its connection details, data and backups.

Connect from outside Rimbra

Databases are private by default: only projects deployed on Rimbra can reach them. To use a Postgres database from your laptop, a database tool or an app hosted elsewhere, open it and turn on Outside connections. It restarts for a few seconds and gets its own address at db.rimbra.app.

Outside connections are encrypted only (TLS 1.2 or newer). Unencrypted connections are refused. The certificate is a public Let’s Encrypt one for db.rimbra.app, so clients can verify it.

bash
psql "postgres://rimbra:PASSWORD@db.rimbra.app:5400/mydb?sslmode=require"

# full certificate checks (libpq 16 or newer)
psql "postgres://rimbra:PASSWORD@db.rimbra.app:5400/mydb?sslmode=verify-full&sslrootcert=system"

Inside a database

TabUse it to
OverviewStatus, CPU and memory, connection URL and connected projects
DataBrowse tables and rows, or keys for Redis, and edit them
QueryRun SQL, or Redis commands in the console
BackupsBack up now and restore a backup
VariablesCopy the connection variables
LogsRead the database server log
SettingsRestart or delete the database