Serverless MariaDB

A real MariaDB endpoint in seconds. Free tier, MySQL-compatible drivers, the same operational shape across cloud, desktop, and self-host.

Free tier, no credit card
SQL Console
MariaDB

Tables

  • users
  • events
  • orders
  • sessions
SELECT id, name, created_at
FROM events
WHERE created_at > NOW() - INTERVAL '7 days'
ORDER BY id DESC LIMIT 5;
idnamecreated_at
1247signup2026-03-12 14:21
1246purchase2026-03-12 14:08
1245login2026-03-12 13:55
1244signup2026-03-12 13:44
1243purchase2026-03-12 13:30
5 rows · 12ms

Cloud, desktop, or self-host

One database, three places it can live. Pick the speed you want and move between them when you outgrow it.

Production features, free tier included

Every MariaDB database ships with the same primitives: TLS, web console, hibernation, and a real dashboard. No tiered features hidden behind a sales call.

Web IDE

Query console in the dashboard, no extra client to install.

Included

TLS by default

All connections encrypted. No setup required.

Included

Always-on connections

Optional keep-alive add-on prevents hibernation.

Included

Scale to zero

Hibernates when idle. Wakes on the next connection.

Included

Connection pooling

Pooled endpoint for serverless and edge workloads.

Included

Direct connections

Bypass the pooler for migrations and replication.

Included

HTTPS access

HTTP-native engines reachable over port 443.

Not available

Serverless driver

Upstash REST or PlanetScale serverless drivers supported.

Not available

IP whitelisting

Restrict access to specific IPs or CIDR ranges.

Included

Automatic backups

Scheduled point-in-time backups with one-click restore.

Included

Connect with any MariaDB client

MariaDB-native features, MySQL-compatible apps, and teams moving workloads off hosted MariaDB services.

  • Run MariaDB-specific features (Aria, ColumnStore, sequence support) without managing the binary
  • Drop in as a MySQL-compatible backend for existing apps
  • Per-environment databases for staging and dev that mirror production exactly
  • Local development with SpinDB, deploy the same schema to cloud
  • Self-host on your own hardware when you need control over the major version
bashMariaDB
mariadb --ssl --host your-host.cloud.layerbase.dev --port 3306 --user layerbase --password app

Common MariaDB questions

How is MariaDB different from MySQL on Layerbase?+

They are separate engines with separate endpoints. MariaDB exposes MariaDB-specific features that diverge from MySQL; both speak the MySQL wire protocol so most clients connect to either without code changes.

Which version do you run?+

Layerbase Cloud tracks recent stable MariaDB releases. The supported versions list is visible in the create flow.

Can I use mysql or mariadb CLI?+

Either works. Most drivers and tools that target MySQL also work against MariaDB unchanged; for MariaDB-specific features, prefer the MariaDB-native driver where one exists.

How does hibernation work?+

Free databases hibernate after 1 hour of inactivity and wake on connect; paid plans hibernate after 6 hours or stay always-on with the keep-alive add-on.

Can I run MariaDB locally too?+

Yes. SpinDB and Layerbase Desktop both support MariaDB locally with the same versions you see in cloud.