MySQL Databases
MySQL databases are a great way for Minecraft plugins to store data, and at Sparked Host LLC, we provide these for free with every Minecraft and Bot Hosting plan you have with us.
Creating a Database
To create a new MySQL database, simply enter a name for the database creation, this should be the name of the plugin you are using the database for, but it can be anything you wish.
The "Connections From" field can either be set to %
, meaning any IP address can connect to the database, given that the credentials are correct, or, additionally, you may provide the IP address of your server, excluding the port, to restrict access.
Managing a Database
You can manage your database at anytime via PHPMyAdmin, meaning you can perform MySQL commands on your database.
Most plugins will not require you to edit the database at all, as it will all be handled by itself.
You will need the username and password of your database, which can be found by clicking on the eye symbol next to your database. Additionally, clicking the hammer next to the eye symbol will take you directly to PHPMyAdmin.
Connecting a plugin
All the information you need to configure a plugin to use your MySQL database can be found by clicking the eye symbol on the corresponding database row.