Serverless MySQL

A real MySQL endpoint in seconds. Free tier, TLS by default, every standard MySQL driver works. Cloud, desktop, or self-host with SpinDB.

Free tier, no credit card
SQL Console
MySQL

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 MySQL 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.

Included

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 MySQL client

WordPress-style apps, Rails or Laravel workloads, existing MySQL schemas, and services that need broad MySQL client compatibility.

  • Host a WordPress, Rails, or Laravel app database without setting up your own server
  • Run migrations from a legacy MySQL deployment without changing client code
  • Serverless apps that prefer the PlanetScale serverless driver over a TCP connection
  • Per-developer dev databases that match production exactly
  • Self-host on your own hardware with SpinDB when compliance requires it
bashMySQL
mysql --ssl-mode=REQUIRED -h your-host.cloud.layerbase.dev -P 3306 -u layerbase -p app

Common MySQL questions

Which MySQL version do you run?+

Layerbase Cloud tracks the latest stable MySQL 8.x release. You can pick a specific supported version from the create flow.

Do you support the PlanetScale serverless driver?+

Yes. MySQL-family databases on Layerbase also speak the PlanetScale serverless driver via an HTTP-based hostname, which is the right path for edge runtimes that cannot hold a TCP connection.

Can I use mysqldump and standard tooling?+

Yes. The endpoint speaks the standard MySQL wire protocol. mysqldump, mysql CLI, MySQL Workbench, DBeaver, Prisma, Drizzle, and any standard driver work without code changes.

TLS configuration?+

TLS is required and enabled by default. Most clients accept the default trust store; for stricter setups, the dashboard exposes the CA certificate.

Can I run MySQL locally?+

Yes. SpinDB manages multiple local MySQL versions with one command, and Layerbase Desktop adds a GUI on top.