Serverless MariaDB
Free MariaDB, $0/mo with no card: a real endpoint in seconds, speaking the MySQL wire protocol, so the MySQL drivers you already use connect unchanged. The same operational shape across cloud, desktop, and self-host.
Already have data? Migrate it from PlanetScale, DigitalOcean Any connection string works too.
FAQ
Common MariaDB questions
What is MariaDB?
MariaDB is a community-developed fork of MySQL that speaks the same wire protocol while adding features of its own, such as Aria, ColumnStore, and sequence support. Because the protocol matches, most MySQL drivers and tools connect to it without code changes. Layerbase runs MariaDB as a managed endpoint on the Free plan, with TLS, a web SQL console, and hibernation when it goes idle.
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 MariaDB version does Layerbase run?
Layerbase Cloud tracks recent stable MariaDB releases. The supported versions list is visible in the create flow.
Can I use the mysql or mariadb command line client?
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 for MariaDB on Layerbase?
A free MariaDB hibernates after 30 minutes of inactivity, the longer of the two free windows: MySQL and MariaDB cold-start slowly, so they get 30 minutes where most engines get 15. Paid plans hibernate after 6 hours, or stay always-on when pinned to your plan pool. It does wake on connect: the first connection is held open while the engine starts. The cold start is around 20 seconds though, so give your client a 30 second connect timeout, or expect the first attempt to time out and retry. You can also start it from the database page before you connect, or pin it always-on on a paid plan so it never sleeps.
Can I run MariaDB locally too?
Yes. The Layerbase CLI and Layerbase Desktop both support MariaDB locally with the same versions you see in cloud.
Is there a free MariaDB tier?
Yes. MariaDB is on the Free plan at $0/mo with no card: 2 databases, 5 GB of storage, and up to 20 concurrent connections. MySQL is not on the free tier, so MariaDB is the way to run a MySQL wire-compatible database here for free. Most MySQL drivers connect to it unchanged.
Is free MariaDB cloud hosting a trial?
No. The Free plan has no expiry date and asks for no card. What it does have is scale-to-zero: a free MariaDB hibernates after 30 minutes idle, and one left hibernated for 14 days (7 if you never connected to it) is archived until you restore it, which takes about 10 to 30 seconds. Data and backups are kept throughout. Paid plans hibernate after 6 hours and are never auto-archived.
What happens when my free MariaDB database goes idle?
It hibernates and keeps its hostname, port, and data. It does wake on connect: the first connection is held open while the engine starts. The cold start is around 20 seconds though, so give your client a 30 second connect timeout, or expect the first attempt to time out and retry. You can also start it from the database page before you connect, or pin it always-on on a paid plan so it never sleeps.