# MariaDB/MySQL Tab

### Standalone database server

#### Overview

Use the **MariaDB / MySQL** tab to check database service health, refresh the live database inventory, create database backups, and restore database versions when needed.

This tab appears for Generic Linux members. It is useful for dedicated database servers, OpenLiteSpeed servers with local databases, and cPanel servers where MySQL is managed by WHM.

[![MariaDB-MySQL-Overview.png](https://docs.serversctl.com/uploads/images/gallery/2026-06/scaled-1680-/mariadb-mysql-overview.png)](https://docs.serversctl.com/uploads/images/gallery/2026-06/mariadb-mysql-overview.png)

#### What is included

<div id="bkmrk-subtab-what-you-use-"><div><table><thead><tr><th>Subtab</th><th>What you use it for</th></tr></thead><tbody><tr><td>**Overview**</td><td>Check database service health, listener status, version, replication role, recent backup age, logs, and service actions.</td></tr><tr><td>**Databases**</td><td>View live schemas, refresh discovery, see backup versions, back up selected schemas, restore versions, and delete old database backups.</td></tr></tbody></table>

</div></div>#### Free and Pro

<div id="bkmrk-feature-community-pr-2"><div><table style="width: 86.0714%;"><thead><tr><th style="width: 63.3385%;">Feature</th><th style="width: 25.741%;">Community</th><th style="width: 10.9204%;">Pro</th></tr></thead><tbody><tr><td style="width: 63.3385%;">View service health and heartbeat-reported database status</td><td style="width: 25.741%;">Included</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">View version, listener, uptime, and basic metrics when available</td><td style="width: 25.741%;">Included</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">View live database inventory</td><td style="width: 25.741%;">Included</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">Refresh live database discovery</td><td style="width: 25.741%;">Included</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">View existing backup versions</td><td style="width: 25.741%;">Included when available</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">Back up all databases</td><td style="width: 25.741%;">Upgrade required</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">Back up selected schemas</td><td style="width: 25.741%;">Upgrade required</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">Restore database backup versions</td><td style="width: 25.741%;">Upgrade required</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">Delete managed database backup versions</td><td style="width: 25.741%;">Upgrade required</td><td style="width: 10.9204%;">Included</td></tr><tr><td style="width: 63.3385%;">Choose a Storage Pool for database backups</td><td style="width: 25.741%;">Upgrade required</td><td style="width: 10.9204%;">Included</td></tr></tbody></table>

</div></div>Pro is for real database operations: scheduled recovery coverage, one-click backups before risky changes, schema-level restore, and storage-aware backup management.

##### Overview subtab

Open **Pool**, choose the member, select **MariaDB / MySQL**, then open **Overview**.

The Overview subtab shows:

- Database service status.
- Server version.
- Replication or Galera role when reported.
- Last all-databases backup age.
- Listener status, usually port 3306.
- Connections, running threads, queries per second, uptime, and buffer pool signals when available.
- Error and slow-query log tails from the latest member report.

Available actions include:

<div id="bkmrk-action-use-it-when-r"><div><table><thead><tr><th>Action</th><th>Use it when</th></tr></thead><tbody><tr><td>**Restart**</td><td>The database service needs a controlled restart.</td></tr><tr><td>**Config test**</td><td>You want to check database configuration before restarting.</td></tr><tr><td>**Flush privileges**</td><td>Database grants or users were changed and privileges need reloading.</td></tr><tr><td>**Backup all**</td><td>You want one recovery point containing all databases on the member.</td></tr><tr><td>**Harden**</td><td>You want the platform to apply supported database hardening guidance or actions.</td></tr></tbody></table>

</div></div>On cPanel servers, the tab may show a cPanel host notice. Use the cPanel tab for WHM account work, but use **Databases** here to refresh and back up discovered application schemas.

##### Databases subtab

Open **Databases** to work with the live schema inventory.

The Databases subtab shows:

- Live schemas currently found on the server.
- Size and table count when available.
- Database engine details where reported.
- Backup version count for schemas with stored recovery points.
- The latest backup age for each backed-up schema.
- A discovery cache age so you know how fresh the list is.

Use **Refresh live** when you have added databases, restored accounts, moved sites, or changed application database settings. On cPanel and web hosts, discovery can also find application-linked schemas from known config files.

##### Backing up databases

To back up all databases:

1. Open **Overview**.
2. Choose **Backup all**.
3. Pick the Storage Pool if more than one is available.
4. Review the estimate and start the backup.

To back up selected schemas:

1. Open **Databases**.
2. Open the menu on the schema card.
3. Choose **Backup**.
4. Confirm the schemas and Storage Pool.
5. Start the backup.

The backup modal warns when the selected Storage Pool does not have enough remaining space.

##### Restoring versions

To restore a database version on Pro:

1. Open **Databases**.
2. Open the menu on a schema with backup versions.
3. Choose **Versions**.
4. Select the version you want.
5. Choose **Restore** and confirm.

Restoring a database can overwrite live data. Check the version date, source member, and schema name before confirming.

##### Deleting versions

Use **Delete** from the versions modal when you no longer need a stored database backup. Deletion is permanent, so keep at least one known-good recovery point for important schemas.

### cPanel-managed MySQL

On cPanel servers, MySQL is shared across accounts. That means:

- WHM account tasks stay in the cPanel tab.
- Database inventory and schema backups stay in MariaDB / MySQL.
- Use **Refresh live** after adding or restoring cPanel accounts.
- Application-linked schemas may appear after discovery even when root-level metrics are limited.

### Galera (`wsrep`) (In Alpha)

When Galera is enabled, the agent will report the wsrep state. <span class="font-semibold" data-streamdown="strong">ServersCTL does not</span> run quorum, SST, or writer election. <span class="font-semibold" data-streamdown="strong">DNS is active ≠ Galera primary.</span>