Creating Databases
Setting up a MySQL database is a crucial step for running many game server plugins that require data storage. In this guide, you’ll learn how to effortlessly create and manage databases through the Game Host Bros panel.
Creating A Database
- Load the Game Host Bros Panel and select your server.
- In the left-hand menu, click
Management > Databases
. - Click the
Create
button. - Fill out the following details:
- Host: Select a host that is closes to your game server.
- Name: The name for the database itself.
- Connections From: Leave this as
%
unless you want to whitelist your server IP address.
Now you can locate the plugin you’d like to use the MySQL database for. Open the plugin’s configuration file and input the database details correctly. You will need to refer to the documentation of the plugin for the specific location.
Reset A Database Password
Sometimes you may need to reset a database password for whatever reason. This is how you can do it.
- Load the Game Host Bros Panel and select your server.
- In the left-hand menu, click
Management > Databases
. - Click the
Reset Password
button.
Make sure you update any plugin configuration that uses that password.
Using the JDBC Connection String
Some Java plugins require a JDBC connection string to connect to your MySQL database. We provide you with a string to use that contains all the necessary details required to establish a connection between your application and the database.
- Load the Game Host Bros Panel and select your server.
- In the left-hand menu, click
Management > Databases
. - Find the database you created, and you’ll see the JDBC Connection String.