Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

MariaDB

The community MySQL fork, as a single self-hosted node - drop-in compatible.

1 GiB

1 service, 10 GB disk

$5/mo

flat resource

$0.013/h

Usage Billing

What is MariaDB?

MariaDB is the community-developed fork of MySQL, drop-in compatible for the vast majority of applications and a popular default across CMSes, frameworks, and self-hosted apps. This template is a single MariaDB 11.8 node configured through the official image’s environment variables, with data on a volume.

It runs internal-only on Lyngbak - apps connect at mariadb:3306, and an app database and user are created on first boot. Lyngbak offers managed MySQL for hands-off operation; run this when you specifically want MariaDB or full control of the configuration.

MariaDB has a rich HA story, and the catalogue covers all of it: this standalone node, mariadb-replication (asynchronous primary/replica), and mariadb-galera (synchronous multi-primary cluster).

What you get

  • MariaDB 11.8, the community MySQL fork
  • Drop-in compatible with MySQL for most apps
  • Configured entirely by environment variables
  • App database + user created on first boot
  • Internal-only - reached at mariadb:3306
  • GPLv2

How it runs on Lyngbak

ServiceRolePublic
mariadbrelational database (:3306)no (internal)

Before you deploy

  • MARIADB_ROOT_PASSWORD

    root password

  • MARIADB_PASSWORD

    password for the app user

Sizing and billing

1 GiB suits typical workloads; raise for larger buffer pools. A single node is not HA - see mariadb-replication or mariadb-galera.

Hobby resource$5/mo1 vCPU, 1 GiB, 10 GiB disk, shared CPU
Pro resource$25/mo1 vCPU, 2 GiB, 10 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.013/h0.5 vCPU, 1 GiB reserved. $9/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.047/h1 vCPU, 2 GiB reserved. $34/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.77 GiB of volumes cost $0.15 per GiB a month ($1.47/mo) for as long as they exist. One workspace can use both. See pricing

Compared with the managed service

ServicePlanPriceIncludes
AWS RDS for MariaDBdb.t4g.micro$15/mosmallest single-AZ instance/mo + storage
Aiven for MySQLStartup$31/mosmallest managed plan/mo

Managed MariaDB/MySQL bills per instance; self-hosted is billed for the compute it reserves. Prices from each vendor's pricing page, June 2026.

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Is MariaDB compatible with MySQL?

For the large majority of applications, yes - same SQL, same wire protocol, same clients. There are version-specific differences in newer features, but typical CMS/app workloads run unchanged on either.

What HA options does the catalogue offer?

Three modes: this standalone node, mariadb-replication (asynchronous primary/replica for read-scaling and hot standby), and mariadb-galera (synchronous multi-primary cluster where any node accepts writes).

Managed MySQL or this?

Managed MySQL is simpler to operate. Choose this MariaDB template when you specifically want MariaDB, a particular version, or custom server configuration.

More in Databases

ClickHouse Cluster

3-node ClickHouse cluster - one shard, three replicas, embedded Keeper. Real replicated OLAP without ZooKeeper pods.

Open the template →

MariaDB Galera

3-node synchronous multi-primary MySQL-family HA on the official image - every node writes, any node can die.

Open the template →

MariaDB Replication

Asynchronous primary/replica MariaDB - a writable primary streaming to a read-only replica.

Open the template →
MariaDB (standalone) on Lyngbak | Lyngbak (formerly Miget)