New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
GameserverCreate Database

How to Create a Database and Access phpMyAdmin

Create a MySQL database for your game server and manage it with phpMyAdmin

4 min read

You can create your own MySQL databases for your game server, for example for plugins, mods or web interfaces. You copy credentials such as host, port and user directly from the dashboard, and phpMyAdmin lets you manage your database conveniently in the browser.

Create a database

  1. Open the dashboard
    Open the dashboard of your server.

  2. Open databases
    In the left sidebar, click Databases.

  3. Create a new database
    Click Create Database. The Create Database dialog opens.

  4. Enter the database name
    Enter a name for your database in the required Database Name field, e.g. plugins. The name can be at most 48 characters long.

  5. Set remote access
    In the Remote Access field you define from which IP addresses connections to the database are allowed. The default is % – this allows connections from any IP address.

  6. Create
    Click Create Database. The new database then appears in the table.

A prefix of the form s<number>_ is automatically added in front of your database name. For example, Test becomes s51018_Test.

Use the credentials

The table on the Databases page shows these columns for each database:

Column Meaning
Database Name Name of the database with the prefix s<number>_ (e.g. s51018_Test), with the database ID below it
Username User for logging in to the database (e.g. u51018_…)
Password Password of the database user – hidden, click the eye icon to reveal it
Database Host Address of the database server including the port, e.g. db1.cgn1.emeraldhost.de:3306
Remote Access Allowed IP addresses (e.g. %)
phpMyAdmin phpMyAdmin button, opens phpMyAdmin in the browser

Enter the credentials in the configuration of your plugin or mod. The Database Host contains host and port, separated by a colon. If your configuration expects them in separate fields, enter e.g. db1.cgn1.emeraldhost.de as the host and 3306 as the port.

Manage a database

The menu (…) at the end of a table row offers these actions:

  • Copy Connection – copies the connection details of the database so you can paste them straight into your configuration.
  • Rotate Password – generates a new password for the database.
  • Delete – removes the database.

Rotate the password

  1. Open the menu
    In the row of your database, click the menu (…) and select Rotate Password.

  2. Confirm
    A dialog points out that this generates a new password and the old password will no longer work. Confirm to generate the new password, or click Cancel to leave everything unchanged.

  3. Use the new password
    Reveal the new password in the Password column via the eye icon and enter it everywhere the database is used.

Add database slots

3 databases are included by default. If they are not enough, you can book additional slots:

  1. Start the expansion
    On the Databases page, click Add database slots. The Change Resources dialog opens.

  2. Choose the number
    In the Configuration step, use the databases slider to set the number you want. The available steps are 3, 4, 5, 10, 15 and 20 – 3 are included, further steps cost extra. At the bottom of the dialog you see the price change and the new Monthly Price.

  3. Review and finish
    Click Next, check your selection in the Review step and complete the change.

You can find more about the Change Resources dialog in Change Resources.

Open phpMyAdmin

  1. Open phpMyAdmin
    In the row of your database, click the phpMyAdmin button. phpMyAdmin opens directly in the browser.

  2. Manage the database
    In phpMyAdmin you can view and edit tables, run SQL commands and import or export data. If phpMyAdmin asks for credentials, use the Username and Password from the table.

Written byEmeraldHost Team
Last updated on Oct 20, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord

Join our Discord community 1257 members online right now