Skip to content

Mysql

🧠 What is MySQL?

MySQL is a popular relational database management system. In the context of a Minecraft server, MySQL can be used for: - Storing player data (e.g., auth plugins, statistics, economy systems), - Storing plugin configurations, - Synchronizing data between multiple servers (e.g., BungeeCord, Velocity).

🔐 MySQL Availability

Note: MySQL access is available only for servers on the Amethyst plan.

✅ How to enable MySQL on your server?

To activate MySQL for your server, follow these steps:

  1. Go to the panel.
  2. Select your target server.
  3. From the sidebar, choose the Settings option.
  4. Open the Basic tab.
  5. Find the MySQL option and set it to Enabled.
  6. After enabling it, a password will appear – click the "Show" button to view it.

Mysql tutorial

⚙️ MySQL Access Details

Parameter Value
Host 127.0.0.1 (not localhost)
Port 3306
User root
Password Visible after clicking "Show" in the panel

🛠️ Plugin Connection Example

# Example plugin configuration
mysql:
    host: 127.0.0.1
    port: 3306
    user: root
    password: your_password
    database: example_db