# Create Minecraft databases and users

> Provision MySQL databases and credentials for plugins, then connect with the displayed service details.

Use **Server → Databases** for plugins that require MySQL. Do not create a database unless the plugin supports it and provides a schema or setup process.

## Create a database

1. Click the database creation action.
2. Enter a name with no password, secret, or customer data.
3. Submit once and wait until its operation state is **ready**.

The plan's database quota is shown in the dashboard. The final name may include a managed prefix, so copy it exactly.

## Create a database user

1. Click the database-user creation action.
2. Enter the requested username and assignment details.
3. Submit and save the generated password immediately.
4. Wait until the user reaches **ready** before configuring the plugin.

The password may not be shown again.

## Configure the plugin

Use the database host, port, exact database name, username, and password shown for the service. Put them in the plugin's private configuration file, not in a public message or repository. Follow the plugin's own option names and connection-pool guidance.

Restart the server only if the plugin documentation requires it. Watch **Console** for connection or schema errors.

## Delete safely

Stop the plugin or server, export required data, and create a backup before deleting a user or database. Deletion is permanent and can break player permissions, economies, claims, or other plugin data immediately.

If a connection fails, verify that both resources are **ready**, the exact managed names are used, the password was copied without extra spaces, and the plugin is using MySQL rather than an unsupported database type.
