Skip to content

Configuration

Choose the Eggs that use Database+, set read-only users and servers, query, import and backup limits, sharing and the scheduled tasks.

Step 2 of 24 min readUpdated
On this page10 sections

Settings appear only while Database+ is enabled. Open Admin → Extensions and click the settings button on the Database+ card.

Allowed Eggs

Choose which Eggs use Database+ as their Databases tab. Leave it empty to use it on every server. Servers on other Eggs keep the standard Pterodactyl Databases tab, and the Database+ endpoints refuse their requests.

Database+ works with any game, not only Minecraft.

Settings are grouped in sections. Pick a section from the dropdown above the form.

Overview

SettingDefaultWhat it does
Record usage historyOnEvery hour the Panel stores the size, rows, tables and connections of each database to draw the usage graph.
Keep usage history for (days)30How long hourly samples are kept, from 1 to 90 days.

Tables

SettingDefaultWhat it does
Rows per page50How many rows the table browser loads at once. Users can pick another page size.
Allow Empty and DropOnShows the buttons that truncate or drop a table. Read-only users never see them.

SQL Console

SettingDefaultWhat it does
SQL consoleOnTurns the console on. Queries always run as the database's own user, never as the database host's administrator account.
Read-only for everyoneOffOnly SELECT, SHOW, DESCRIBE and EXPLAIN are allowed. Root administrators are never restricted.
Read-only serversEmptyEvery user of these servers can only read data, in the console and in the table browser.
Read-only usersEmptyThese users can only read data on every server they can open.
Query time limit (seconds)30Statements that run longer are stopped by the database server. Lock waits are limited too.
Most rows shown per result1000Larger results are cut off and marked.
Queries kept in history per user50Set to 0 to stop saving query history.

Users without the Update database permission get a read-only console automatically.

Import & Export

SettingDefaultWhat it does
Largest import (MB)256Applies to uploads and to files picked from the server; the compressed size for .sql.gz.
Import from other database serversOnUsers can copy a database from any MySQL or MariaDB server they have a login for, or from another database on this Panel that they can access.
Save exports into server filesOnLets users write an export straight into their server's files.
Recent imports and exports kept per server20Older log entries and their files are removed by the cleanup task.

Backups

SettingDefaultWhat it does
Database backupsOnBackups are stored on the Panel in storage/app/private/database-plus, outside the server files.
Scheduled backupsOnLets users back up a database every hour, 6 hours, 12 hours, day or week.
Most backups kept per database30The highest value of the retention slider. Locked backups count too.
Largest database to back up (MB)1024Bigger databases are refused before the backup starts.

Sharing

SettingDefaultWhat it does
Shared databasesOnOwners can share a database with their other servers. It appears there with the same login.
Servers per shared database10The most servers one database can be shared with.

Permissions

Database+ uses the Panel's own database permissions, so subusers need nothing new:

PermissionAllows
database.readOverview, tables, structure, read-only queries, exports to the browser and backup downloads
database.updateEditing rows, Empty and Drop, all queries, imports, restores, backups, schedules and sharing
database.deleteDeleting backups and databases
database.view_passwordSeeing passwords in the credentials and connection strings
file.read-contentImporting a file from the server's files
file.createSaving an export into the server's files

Scheduled tasks

Two tasks run through the Panel's scheduler, so the Panel's cron entry must be active:

TaskWhenWhat it does
database-plus:usageEvery hourRecords the usage samples for the graph.
database-plus:scheduleEvery minuteRuns due backups and cleans up old exports, unfinished uploads and stopped jobs.

Imports, exports and backups run in a background process on the Panel, so long jobs never time out in the browser.

How settings are stored

Settings are saved in the Panel's database and apply right away. Users who already have the Panel open see the Databases page appear or disappear after reloading it.