How to setup a MySQL Database on DBH?

In this step-by-step guide we will explain you how to setup a MySQL database on DiscordBotHosting.com.

Do you still have questions? Please ask them in our discord server

Step 1:

Open your server in the panel to start at the Console Tab.

Click on the "Database" tab to open the database settings.

Click database to open that tab

Step 2:

Click on the "New Database" button to create a new database.

Step 3:

Enter a name for your database and click on the "Create" button.

If you want to specify the IP to limit the connection, you could do it here. Else you can leave it blank.

Enter a name for your database and click on the 'Create Database' button.

Step 4:

Now you can see your database in the list. Click on the Eye symbol to see the connection settings.

Never share these data with anyone!

Click the eye symbol.

Step 5:

With the connection settings, you could login on the database portal.

Loginpage of the database.

Step 6:

To connect the database with a bot, you could use a MySQL package.

Use as host/url always "database.discordbothosting.com".