Knowledge Base
Connecting a game server to your database
Plugins on Minecraft, Rust, Garry's Mod and other games can store data in a database.
- Create a database on the server, see Creating a database.
- Copy the host, port, name, user and password from Database Details.
- Enter them in the plugin's config file, see Managing server files.
- Restart the server and check the console for a successful connection.
Tips
- A server on the same node can connect to the database host directly.
- Allow the right addresses, see Managing database permissions.
- Never share the database password.