How to Create a MySQL Database for Your Server

author
Sam Administrator

Plugins like LuckPerms, CoreProtect and Dynmap can store data in a MySQL database instead of flat files. This makes them faster on busy servers. The panel lets you create a database with one click.

Step 1: Open the Databases tab

Log in at panel.8bit-hosting.com, open your server and click Databases in the sidebar. Click New Database.

Step 2: Create the database

Give your database a name (for example luckperms) and leave Connections From as %. Click Create Database.

Step 3: Copy the connection details

The panel shows your credentials: endpoint (hostname), database name, username and password (click the eye icon to reveal). Copy these into your plugin's config file.

Step 4: Configure your plugin

Open the plugin's config file from Files. Here's an example for LuckPerms (plugins/LuckPerms/config.yml):

storage-method: mysql

data:
  address: 'your-endpoint-here'
  database: 's1234_luckperms'
  username: 'u1234_luckperms'
  password: 'your-password-here'

Save and restart the server. The plugin creates its tables automatically on first launch.

Common issues

  • Communications link failure - Check the endpoint and port (usually 3306).
  • Access denied - Double-check username and password. Passwords are case-sensitive.
  • Plugin still using flat files - Some plugins need a full server stop and start (not just reload) to switch storage backends.

Need help? Join our Discord or email support@8bit-hosting.com.

Was this article helpful?

Discussion (0)

Info

Once payment is completed, the amount you have selected will be credited to your account balance, enabling you to renew your services or place new orders.

How much do you want to add?