Databases for Your Game Server
Some game server plugins and mods need more than flat files to store their data — they need a proper database. Economy systems, web-based maps, permissions managers, logging plugins, and many other tools rely on MySQL databases to store and retrieve data efficiently. The FREAKHOSTING Game Panel at games.freakhosting.com lets you create and manage databases directly from the Management > Databases section, giving your plugins the storage backend they need without any external setup. Not every game server needs a database, and not every plan supports them. This guide covers when you need one, how to create one, and how to connect your plugins to it.Difficulty
Intermediate
Time
5 Minutes
When Does a Game Server Need a Database?
Most game servers run perfectly fine without a database — world data, player inventories, and server configs are stored as files on disk. But the moment you start adding plugins or mods that need to store structured data, search through records quickly, or share data between multiple servers, a database becomes essential.You Need a Database For
Economy plugins (EssentialsX Economy, CMI). Web-based live maps (DynMap, BlueMap with MySQL storage). Permissions plugins (LuckPerms with MySQL backend). Logging and anti-grief tools (CoreProtect). Cross-server data sharing (BungeeCord networks). Player statistics and leaderboard plugins.
You Don't Need a Database For
Basic Minecraft survival or creative servers with no plugins. Vanilla game servers (Terraria, Valheim, Factorio). Simple plugin setups that use file-based storage (YAML, JSON). Voice servers like TeamSpeak or Mumble.
Not all game server types support databases on the FREAKHOSTING platform. If your server does not support databases, you will see the message: “Databases cannot be created for this server.” This is expected for game types that do not typically require database access. If you believe your server should have database support, contact our support team.
Real-World Example: Setting Up DynMap with a Database
Here is a practical scenario:You are running a Minecraft server and want to add DynMap — a plugin that generates a live, interactive web map of your world. DynMap can use flat files, but on a large world with hundreds of players, that approach gets slow. Switching DynMap to a MySQL database dramatically improves map rendering performance and tile storage.To make this work, you need to: create a database in the Game Panel, copy the connection details (host, port, database name, username, password), and paste them into DynMap’s configuration file. That is exactly what this guide walks you through.
Accessing the Databases Section
Log In to the Game Panel
Navigate to games.freakhosting.com and sign in with your credentials.
Select Your Server
From the server list or the server selector dropdown, choose the game server you want to manage databases for.
| Column | What It Shows |
|---|---|
| Name | The database name you chose during creation. This is what you enter in your plugin configs. |
| Server | The database server/host your database is running on. |
| Endpoint | The full connection endpoint (host and port) for external connections. |
| Size | The current storage size of the database. Starts at 0 bytes and grows as your plugins write data. |
Creating a New Database
Click New Database
On the Databases page, click the New Database button. A creation form will appear.
Enter a Database Name
Choose a descriptive name for your database. Keep it relevant to its purpose — something like “dynmap”, “luckperms”, “coreprotect”, or “economy”. This name is what your plugins will reference in their configuration files.
Viewing Connection Details
Once your database is created, you need its connection details to configure your plugins. Each database entry in the table provides everything you need:Host and Port
Found in the Server and Endpoint columns. The endpoint gives you the full host:port combination. This is what you enter as the “host” or “address” in your plugin configuration files.
Database Name and Credentials
Click on a database entry to reveal the full connection details, including the database name, username, and password. Copy these values exactly as shown — they are case-sensitive.
Rotating Your Database Password
If your database password has been compromised, shared accidentally, or you simply want to refresh it for security, each database includes a rotate password button.Click Rotate Password
Click the rotate password button for that database. A new password is generated immediately.
Deleting a Database
If a database is no longer needed — maybe you removed the plugin that used it, or you are cleaning up after testing — each database entry has a delete button.Confirm You No Longer Need It
Before deleting, make sure no active plugins or mods are using this database. Check your server’s plugin configuration files to be certain.
Common Database Use Cases
LuckPerms (Permissions)
LuckPerms (Permissions)
LuckPerms is one of the most popular permissions plugins for Minecraft. While it works with flat files, using a MySQL backend lets you sync permissions across multiple servers in a BungeeCord or Velocity network. Create a database, enter the connection details in LuckPerms’
config.yml under the storage-method: MySQL section, and restart.DynMap / BlueMap (Web Maps)
DynMap / BlueMap (Web Maps)
Web-based map plugins can use MySQL to store rendered map tiles instead of thousands of individual image files. This significantly improves performance on large worlds. Create a dedicated database, configure the map plugin’s storage settings to point to it, and re-render the map.
CoreProtect (Block Logging)
CoreProtect (Block Logging)
CoreProtect logs every block placement, break, and interaction for anti-grief rollbacks. On active servers, this generates a lot of data — MySQL handles it far better than flat-file SQLite. Create a database, update CoreProtect’s
config.yml with the connection details, and restart.Economy Plugins
Economy Plugins
Plugins like EssentialsX Economy or CMI can store player balances in a database. This is especially useful for multi-server networks where you want a shared economy across all connected servers.
Cross-Server Data (BungeeCord / Velocity Networks)
Cross-Server Data (BungeeCord / Velocity Networks)
If you run a network of game servers connected through BungeeCord or Velocity, databases are essential for sharing data between them — synchronized inventories, shared permissions, cross-server chat, and unified player stats all require a common database that every server can read and write to.
Troubleshooting Database Connections
Plugin shows 'Connection refused' or 'Cannot connect to database'
Plugin shows 'Connection refused' or 'Cannot connect to database'
Double-check the endpoint (host and port) in your plugin config. Make sure you are using the exact values from the Game Panel — not
localhost or 127.0.0.1, as the database server is not on the same machine as your game server. Also verify the username, password, and database name are correct and have no extra spaces.'Access denied' error after password rotation
'Access denied' error after password rotation
You rotated the database password but forgot to update the plugin configuration. Open the plugin’s config file, enter the new password, save, and restart the server.
Database size keeps growing
Database size keeps growing
This is normal for logging plugins like CoreProtect that record every action. Most plugins have a purge or cleanup setting that lets you automatically delete records older than a certain number of days. Check your plugin’s documentation for data retention settings.
'Databases cannot be created for this server' message
'Databases cannot be created for this server' message
Your server type or plan does not include database support. This is common for voice servers (TeamSpeak, Mumble), vanilla servers that do not use plugins, and certain game types that have no database integration. If you need database access, contact support to discuss your options.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: March 2026 | Game Panel Support: Database management simplified.