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:
- Go to the panel.
- Select your target server.
- From the sidebar, choose the Settings option.
- Open the Basic tab.
- Find the MySQL option and set it to Enabled.
- After enabling it, a password will appear – click the "Show" button to view it.
⚙️ 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