The Databases page lets you create and manage MySQL databases for your server.
Many games, frameworks, and plugins use a MySQL database to save information between server restarts, such as player accounts, progress, and inventories.

The number of databases you can create depends on your hosting plan. See the plan table on the website.

| Field | What to enter |
|---|---|
| Database Name | A short name to help you identify the database, such as main or inventory. The panel adds a prefix to this name, so the final database name will look similar to s154_main. |
| Connections From | The IP address that is allowed to connect to the database. Leave this blank unless you have a specific reason to restrict access. Blank allows connections from anywhere, which is required if you want to use a database tool like HeidiSQL from your own computer. |
After a database is created, select it to open its Database connection details. These are the values your server uses to log in to the database.

| Field | What it means |
|---|---|
| Endpoint | The address of the database server, written as host:port. For example, in pma.n1.imperial-hosting.net:3306, the host is pma.n1.imperial-hosting.net and the port is 3306. |
| Connections From | The IP address allowed to connect. % means connections are allowed from anywhere. |
| Username | The username your server uses to log in to the database. |
| Password | The password your server uses to log in to the database. Copy it exactly as shown. |
| JDBC Connection String | All of the details above combined into a single line. It is also the easiest place to find your full database name, which is the part after the last / (for example, s154_main). |
Anyone with these details can read, change, or delete your server's data. Do not share them in public Discord channels, screenshots, or support tickets. If they are ever exposed, rotate your password immediately.
How you connect depends on your game and the software your server runs. In most cases:
For step-by-step instructions for your game, see its guide, such as Connecting a Resource to a Database for FiveM.
Rotate Password replaces your current database password with a new, randomly generated one. Use this if your credentials were shared or exposed.
The old password stops working immediately. Your server will not be able to reach the database until you update its configuration and restart.
Deleting a database permanently removes it and all of the data stored inside it.
This cannot be undone. Before deleting, make sure nothing on your server still depends on this database and that you have exported any data you want to keep.
Open and edit your server's configuration files.
Restart your server and check that it connected to your database.
Connect a FiveM resource to your database using oxmysql.
Connecting a Resource to a Database
Move an existing database from another host to Imperial Hosting.
If you run into any issues or need support, our team is here to help.
Join our Discord.
Open a support ticket through our Help Desk.