Why use a MySQL database for plugins?
Many plugins save data in local files by default. A MySQL database is faster for big servers, keeps data safe from file corruption and lets several servers share the same data, such as LuckPerms ranks, bans or economy balances on a network. Your plan includes a set number of databases. The page shows how many you have used.How to create a database
1
Open Databases
Open your server in the Game Panel and click Databases in the sidebar.
2
Create the database
Click Create database. Enter a Name, for example
luckperms. The dialog shows the full name it will get, such as s123_luckperms. Use that full name in your plugin.3
Choose who can connect
Leave Allowed to connect from on Anywhere. It’s needed for phpMyAdmin. Choose One address only only if you are sure which address will connect.
4
Confirm
Click Create database. You see Database created. Its password is shown on its card.
How to connect a plugin to the database
1
Show the password
On the database card, click Show next to PASSWORD. The card lists HOST, DATABASE, USER NAME and PASSWORD, each with a copy button.
2
Pick a connection snippet
Under the connection snippets, choose a FORMAT: Plugin config, LuckPerms, CoreProtect, JDBC URL and others. The password is filled in once it is shown. Click Copy.
3
Paste it into the plugin's config
Stop the server. In Files, open the plugin’s config, for example
plugins/LuckPerms/config.yml, and paste the details. See the example below.4
Start and check
Start the server and watch the Console. If the plugin can’t connect, it logs an error when it starts.
Example: LuckPerms with MySQL
Inplugins/LuckPerms/config.yml, set the storage method and the data section. Use the values from your database card. The LuckPerms snippet on the card writes these lines for you.
3306. Don’t use localhost or 127.0.0.1: the database runs on a separate address shown on the card.
How to view your data in phpMyAdmin
Click Open in phpMyAdmin on the database card. phpMyAdmin asks you to sign in: use the user name and password from the card. See how to manage databases.Frequently asked questions
Can several plugins share one database?
Yes. Give each plugin its own table prefix in its config so their tables don’t clash. Separate databases are easier to manage if your plan has enough.I rotated the password and now the plugin can’t connect. Why?
Rotate password stops the old password working at once. Paste the new password into every plugin config that uses the database and restart.Is my data backed up with my server backups?
No. Backups are copies of your server files, not of your databases. Export important data from phpMyAdmin. Deleting a database removes all its data for good.Can my servers on other hosts use this database?
Only if Allowed to connect from is Anywhere or set to that server’s address.Related guides
Minecraft server guide
Every Minecraft guide in one place.
Install plugins
Add LuckPerms and other plugins.
Recommended plugins
Plugins that work well with MySQL.
Manage databases
Rotate passwords, phpMyAdmin and delete.
Proxy network
Share data across servers.
Tested by the FREAKHOSTING team on our Game Panel on 29 October 2026 (Minecraft 26.1, Paper and Fabric). Steps may differ slightly if the game or its plugins change.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026