20% OFF Your first order with SAVE20
Background image of the page

Help Article

How to Create a MySQL database

This article will show you how to create a MySQL database for your Minecraft Server.

Last updated on  Feb 24, 2026

Some Minecraft plugins and mods use a MySQL database to store data. This guide explains how to create a database and connect your plugin to it.


How to Create a MySQL Database

  1. Head over to the Game Panel and navigate to the Files → Databases tab.
  1. Click on the New Database button to create a new database, and fill in your desired database name and (optional) where connections should be allowed from.
  1. To view your database connection details click on the eye icon.

How to Connect a Plugin to a Database

  1. Head over to the Game Panel and make sure it's not running.
  2. Navigate to the Files tab and open up the plugins folder (Paper/Spigot). If your server is running with mods, open the config folder.
  1. Head to the plugin/mod's config.yml (or similar file) to find the database connection details. If you cannot find it, read the plugin/mod's documentation for more information.
  1. You should fill in the plugin's configuration file as follows:
    Address - Endpoint
    Database - Your database Name
    Username - Your database Username
    Password - Your database Password
👉
NOTE: MySQL's port is always 3306.
Example Screenshot of Luckperms' configuration file.

Resetting your database will remove all the information you have gathered from your server.

🧑‍💻
If you still require assistance, please get in touch with our support team by opening a ticket or by joining our community Discord server.