> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lumixsolutions.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Databases

> Provision MariaDB databases for your server and rotate credentials.

The **Databases** tab lets you spin up MariaDB databases on the same node as your server - ideal for FiveM resources, Minecraft plugins, bots, and web apps that need persistent storage.

## Creating a database

1. Click **New Database**.
2. Choose a **name** (used as a suffix - the full DB name will be prefixed with your server ID, e.g. `s12_yourname`).
3. Optionally restrict the **connection from** field to a specific IP. Leave as `%` to allow any host.
4. Click **Create Database**.

Lumi-Panel returns the following - keep them safe:

* **Endpoint** - hostname and port to connect to.
* **Connections from** - the IP/host allowlist.
* **Username**
* **Password** (click the eye icon to reveal)
* **JDBC connection string**

## Rotating the password

Click the refresh icon next to the password to generate a new one. The old password is immediately invalidated - update any application configs before the next restart.

## Limits

The number of databases per server depends on your plan. If you hit the limit, [open a ticket](https://billing.lumixsolutions.org/submitticket.php) and we'll size you up - no upsell games.

## Managing your database with phpMyAdmin

Every Lumix Solutions database is reachable through our hosted phpMyAdmin at [db.lumixsolutions.org](https://db.lumixsolutions.org). Sign in with the **Username** and **Password** shown on the Databases tab to browse tables, run queries, and import/export dumps from the browser.

## Connecting from your game server

Connection syntax varies by game and framework. Rather than duplicate every example here, see the game-specific guide for your stack:

* **FiveM** - see the [FiveM](/games/fivem) page for `mysql-async` / `oxmysql` / `txadmin`setup.
* **Minecraft** - see the [Minecraft](/games/minecraft) page for plugin `config.yml` examples.
* **Other games and apps** - check the matching page under [Games](/games) or [Applications](/applications).

<Warning>
  Deleting a database is permanent and immediate. There is no soft-delete. Take a backup (mysqldump via phpMyAdmin, or use the [Backups](/lumi-panel/management/backups) tab to snapshot the whole server) first.
</Warning>
