Database
The database module is used to manage MySQL, MariaDB, PostgreSQL, and other databases. It supports creating databases, managing users, and configuring database servers.
Prerequisites
Before using the database feature, you need to install database software first:
- Go to Applications > Native Applications
- Install Percona, MySQL, MariaDB, or PostgreSQL
Feature Overview
The database module is divided into three parts:
| Feature | Description |
|---|---|
| Database | Create and manage databases |
| User | Manage database users and permissions |
| Server | Manage database server connections |

Supported Databases
| Database | Description |
|---|---|
| Percona | High-performance fork of MySQL, suitable for high-load scenarios |
| MySQL | The world's most popular open-source relational database |
| MariaDB | Open-source fork of MySQL, fully compatible with MySQL |
| PostgreSQL | Powerful open-source object-relational database |
Quick Start
Create Database
- Go to the Database page
- Click Create Database
- Select database type and server
- Enter database name
- Choose whether to create a user and set permissions
- Click Create
Create User
- Switch to the User tab
- Click Create User
- Enter username and password
- Set access permissions
- Click Create
Connect to Database
Local Connection
Host: 127.0.0.1 or localhost
Port: Percona/MySQL/MariaDB 3306, PostgreSQL 5432
Socket: Percona/MySQL/MariaDB /tmp/mysql.sock, PostgreSQL /tmp/.s.PGSQL.5432Remote Connection
To connect to the database remotely:
- Open the database port in the firewall
- Create a user that allows remote access (set host to
%)
Security Notice
It is not recommended to expose database ports to the public network. For remote management, it is recommended to use SSH tunnels or VPN.
Next Steps
- Database Management - Learn how to create and manage databases
- User Management - Learn how to manage database users
- Server Management - Learn how to manage database servers
