1.12 Exploration Update with Parrots!

50% OFF for the first month on all servers with CODE: Parrot

How To Add a MySQL Database To Your Minecraft Server


You may have come across some plugins requiring a MySQL database. These plugins tend to generate a large amount of data and the most convenient way to store it is through the use of tables, similar to how you would store and manipulate data in a spreadsheet.

For each server you have, you can create a single database and as many tables as needed for your plugins for free. You can quickly create a database by access the respective servers details page and navigating over to the MySQL section on the left side menu. From there you create an manage your database and then use its information to link it to your plugins.

Creating a New Database

  1. Navigate to the respective servers details page from the Apex Panel.
  2. Select MySQL from the left side menu.
  3. Click Create Database on the left side menu to generate a new database.
  4. Once created you will then be presented with details for connecting to the database itself via PHP as well as linking a plugin with it.

Most plugins require the same set of information in order to connect with the database. The following is what is presented on the panel along with a brief description.

Hostname (Host) – the ip address where the database is being stored

Database (Name) – which database to use because a server can have multiple databases

Username – the username with which to use in connecting to the database

Password – similar to the username, it is used for authentication purposes

Resetting the MySQL DB password

  1. Navigate to the respective servers details page from the Apex Panel.
  2. Select MySQL from the left side menu.
  3. Click New Password on the left side menu to generate a new MySQL password.

When you generate a new password you will need to update the credentials of any plugin using this information.

Deleting a Database

NOTE: If you have any plugins that were dependent on having the MySQL database, they may stop working as intended.

  1. Navigate to the respective servers details page from the Apex Panel.
  2. Select MySQL from the left side menu.
  3. Click Delete Database on the left side menu to irrevocably delete the database.