MariaDB
Run MariaDB on dFlow: MySQL-compatible SQL, MARIADB reference variables, internal credentials, and optional Expose.
Written By Charan
Last updated 3 days ago
MariaDB is a MySQL-compatible relational database. Many applications that run on MySQL can run on MariaDB with little or no change, while benefiting from MariaDBβs own releases and optimisations.
Background: Databases overview.

When to choose MariaDB
Choose MariaDB when you want MySQL-style SQL and tooling, or your team standardises on MariaDB. If you require the MySQL brand/engine specifically, use the MySQL guide.
Create and deploy
Applications β Environment β Add New β Add service β Database β MariaDB.
Create Service β open the service β Deploy.
Wait for success.
Connection details on Overview
After deploy, Internal credentials include a connection URL and separate username, password, host, port, and database name.
The URL may look like mysql://β¦ even though the service is MariaDB. That is expected in some stacks; rely on the Overview fields rather than guessing the scheme.
Public fields appear after Expose. Unexpose before Stop if exposed.

Link your app: reference variables
Variables tab β { } menu. Example (rename my-mariadb):
{{ my-mariadb.MARIADB_URI }} The middle segment is MARIADB (uppercase type from the platform), not MYSQL.
Internet access (Expose)
MariaDB receives one public port when exposed, similar to MySQL and Postgres. Prefer internal connections for co-located apps.
Day-to-day actions
Same pattern as other databases: Restart, Stop, Expose, Unexpose; Deploy hidden after first success. Details: Databases overview.