logo
icon

MariaDB

A community-developed, commercially supported fork of the MySQL relational database management system.

template cover
Deployed141 times
Publisheryuaanlin
Created2024-07-18
Services
service icon
Tags
Database

MariaDB

MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system. It is designed as a drop-in replacement for MySQL with more features, new storage engines, fewer bugs, and better performance.

Features

  • Compatibility with MySQL
  • Improved performance
  • Additional storage engines
  • Galera cluster technology
  • Advanced replication features
  • Enhanced security options

For more information, visit MariaDB.org.

Credentials

You can retrieve the credential of MariaDB with the following environment variables:

  • ${MARIADB_USERNAME}: The username of this MariaDB instance.
  • ${MARIADB_PASSWORD}: The password of this MariaDB instance.
  • ${MARIADB_DATABASE}: The database name of this MariaDB instance.
  • ${MARIADB_HOST}: The hostname of this MariaDB instance.
  • ${MARIADB_PORT}: The port of this MariaDB instance.

Restoring the Backup

Zeabur offers an automatic backup feature for MariaDB. However, you must restore the backup manually. Follow the steps below to restore your backup:

  1. Download and extract the backup file from the storage. You will find a data.sql file.
  2. Locate the "Command to connect to your MariaDB" in the "Instructions" section of your MariaDB service.
  3. Ensure you have installed the MariaDB command tools on your machine. Then, run:
<Command to connect to your MariaDB> < data.sql