When you need one
Some plugins and mods can keep their data in a MySQL database instead of files. Permission, logging and economy plugins often offer it. The plugin's own guide tells you whether it needs one.
Create a database
- Open Databases in the panel.
- Under New database, type a name of 3 to 24 lowercase letters, numbers or underscores.
- Press Create.
The panel adds a short prefix from your server ID to the name, so it never clashes with anyone else's. Each server can have 2 databases.
Tip: In the preview, the connection details are examples. No database server runs yet.
Connect a plugin
Each database shows a Host, Database, Username and Password. Press Show password to see it. Copy the details into the plugin's config file, usually under a storage or database section.
The host ends with the port after the colon. Most plugins want the host name and the port in separate fields.
address: db.sgp.play.rallark.com port: 3306 database: your-database-name username: your-username password: your-password
Change the password or delete
Press New password to make a new one. Put it in the plugin's config and restart the server, or the plugin loses its connection.
Watch out: Deleting a database removes every table and row in it for good. Backups don't include databases.