Pterodactyl Client icon

Pterodactyl Client

User-level server management with Pterodactyl Panel Client API

Database → Create

AI-generated

Summary

Create a new database on a specified server in the Pterodactyl panel, specifying the database name and allowed remote access pattern.

Inputs

  • Server ID (required) — Select the server identifier where the database will be created.
  • Database Name (required) — Provide the name for the new database (up to 48 characters).
  • Remote Access Pattern (required) — Specify the remote access pattern for the database users (e.g., '%' allows all hosts, '127.0.0.1' allows localhost only).

Output shape

a single record representing the created database's details

The output is the JSON response from the Pterodactyl API containing information about the newly created database. If multiple inputs are processed, outputs are returned as an array of created database records.

Discussion