Database
Setting up a database is essential for many Minecraft plugins and applications. This guide makes the process simple!
Setup Process
Create a server with MariaDB egg
Visit Create server and select the MariaDB egg when creating your server.
Start the server
Make sure your server is running before proceeding to the next steps.
Create your database
Run the following command in your server console:
Replace dbname
with a name relevant to your project (e.g., minecraft_economy
).
Create a database user
Create a user with the following command:
Always use a strong, unique password! Weak passwords can compromise your server security.
Link the user to the database
Grant the user privileges with:
Important Notes
Security
Use a secure password that includes uppercase, lowercase, numbers, and special characters.
Naming
Choose meaningful names for your database and users to keep track of their purpose.
IP Configuration
The default IP (172.18.0.1) is for local connections. Use your node IP if different!
Backups
Regularly backup your database to prevent data loss.
Accessing Your Database
Use these credentials when configuring your applications:
Need help? Our support team is ready to assist you with any database configuration issues!