Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xyrapanel/panel/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Database hosts are MySQL/MariaDB servers that can create databases for game servers. Each host can have a maximum database limit and be assigned to specific nodes.Endpoints
List Database Hosts
database_hosts:read permission
Response:
Create Database Host
name(required): Display name (1-255 characters, trimmed)hostname(required): MySQL hostname or IP (1-255 characters, trimmed)port(optional): MySQL port (1-65535, default: 3306)username(required): MySQL username (1-255 characters, trimmed)password(required): MySQL password (minimum 1 character)database(optional): Database name to use for the panel (1-255 characters, trimmed)nodeId(optional): Assign to specific node (UUID, trimmed)maxDatabases(optional): Maximum databases allowed (minimum: 0, null = unlimited)
Update Database Host
Delete Database Host
Test Database Connection
Database Host Object
Database host UUID
Display name for the database host
MySQL server hostname or IP address
MySQL server port
MySQL username
Maximum databases allowed (null = unlimited)
Current number of databases on this host
Notes
- Database hosts are ordered alphabetically by name
- The
databaseCountis computed via SQL join - Password is never returned in API responses
- Use the test endpoint to verify connection before creating servers
- The database host user needs privileges to create databases and users
Required MySQL Privileges
The database host user needs the following privileges:Security Considerations
- Use strong passwords for database host accounts
- Limit access by IP when possible
- Consider using separate database hosts per node or region
- Monitor
databaseCountagainstmaxDatabaseslimits