List Server Databases
Path Parameters
The internal ID of the server
Response
Always
listArray of database objects
Get Database Details
Path Parameters
The internal ID of the server
The internal ID of the database
Response
Returns a single database object with the same structure as shown in the list endpoint.Create Database
Path Parameters
The internal ID of the server
Request Body
Database name (will be prefixed with
s{server_id}_). Max 48 characters, alphanumeric and underscores only.Remote connection string. Use
% to allow connections from any IP, or specify specific IPs/CIDR ranges.Database host ID to create the database on
Response
Reset Database Password
Path Parameters
The internal ID of the server
The internal ID of the database
Response
Returns HTTP 204 (No Content) on success. The new password is generated automatically and must be retrieved from the Panel UI or via the Client API.After resetting a password, the server owner should retrieve the new password from the Panel UI at
/server/{identifier}/databases.Delete Database
Path Parameters
The internal ID of the server
The internal ID of the database
Response
Returns HTTP 204 (No Content) on successful deletion.Database Limits
Servers have adatabase_limit field that restricts how many databases can be created:
- Set to
0for unlimited databases - Set to a positive integer for a specific limit
- Attempts to create databases beyond the limit will return a 400 error
database_limit field via the Servers API before creating databases.
Connection Information
To connect to a database from the game server:Connection Details
Best Practices
Use meaningful database names
Use meaningful database names
Name databases according to their purpose (e.g.,
minecraft, plugins, stats) rather than generic names.Restrict remote access when possible
Restrict remote access when possible
Instead of
%, use specific IP addresses or CIDR ranges for the remote field to improve security.Monitor database limits
Monitor database limits
Check server database limits before attempting to create new databases to avoid errors.
Coordinate password resets
Coordinate password resets
When resetting passwords via the Application API, notify server owners to retrieve the new password from the Panel UI.
Related Endpoints
- Client API - Databases - End-user database management
- Servers - Server management including database limits
- Database Hosts - Configuring MySQL database hosts
