Creating a database

Create a MySQL database for your game server from the Pterodactyl panel, retrieve the connection details and know the limits.

Updated

Creating a database

From the server's Databases tab, click to create a new database. The panel automatically generates a database name, a dedicated user and a password — no need to choose them manually.

Retrieving the connection details

Once the database is created, the panel shows:

  • the host (database server address);
  • the port;
  • the database name;
  • the associated username and password.

Enter these in the configuration of the plugin or application that needs to connect — each piece of software has its own file or configuration interface for it (config.yml, environment variables, and so on).

Database count limit

The number of databases available depends on the plan ordered. If the limit is reached, delete an unused database before creating a new one, or consider a higher plan if the need is lasting.

Accessing the database directly

Some plans give access to phpMyAdmin or an equivalent tool to view and edit a database's contents directly, without going through the plugin. Handy for a manual export, a one-off data fix, or a diagnosis.

Can’t find your answer?

The team answers tickets seven days a week, and the Discord is open to everyone.