Skip to content

Databases

Managed MariaDB on your own cluster

MariaDB managed by the MariaDB operator, speaking the MySQL protocol so every MySQL driver connects unchanged.

Created inside a project, beside the apps that use it. Each project gets its own instance, storage and credentials.

A recent addition. It installs today, and the console marks it as new until it has run on a customer's cluster.

01What it does

MariaDB, run for you

MariaDB 10.11, 11.4 or 11.8 on the MariaDB operator.

For the software that asks for MariaDB by name, and for teams that prefer its licence and release cadence to MySQL's. It speaks the MySQL wire protocol, so the driver, the ORM and the DATABASE_URL your app already reads work without a change.

One instance, provisioned with its own volume and wired into bound apps the same way PostgreSQL and MySQL are. The version and the database name are chosen once; the size can change later.

02Options

What you choose

What the console asks when you create it, in the catalog's own numbers. Anything marked chosen once cannot change without creating a new instance.

Sizes
small 0.5 CPU / 1Gi, medium 1 / 2Gi, large 2 / 4Gi
Storage
10Gi by default; grows later if the storage class supports expansion
Versions
10.11, 11.4 or 11.8 (default), chosen once
Pause
Yes; the volume is kept
Public port
3306 can be opened on a public cluster

03Binding

What your app receives

Bind it to an app and these arrive as environment variables. The values are generated once into a secret and reach the app from there, rather than as something you copy.

  • MARIADB_HOST
  • MARIADB_PORT
  • MARIADB_DATABASE
  • MARIADB_USERNAME
  • MARIADB_PASSWORD
  • MARIADB_URL
  • DATABASE_URL

04Adding it

Add MariaDB to a project

The same four steps as every service in the catalog.

  1. 01Open a project and go to Services.
  2. 02Pick it from the catalog and choose its options. Only the size is required; everything else has a default.
  3. 03Create it. Anyport installs it into the project's namespace, generates its credentials into a secret there, and tracks its health.
  4. 04Bind it to an app. The connection details arrive as environment variables, and rotating the credential never means editing an app.