How to Create a Database for Your Game Server
Control panel1 min readUpdated Aug 28, 2026
Every game server comes with MySQL database slots, and a FiveM framework such as ESX, QBCore or Qbox needs one. Creating a database takes a few clicks in the control panel.
Open the Databases Page
- In the control panel, open your server and click Databases in the left menu under Management.
- Click the New database button in the top-right corner.
Name Your Database
- Enter a Database name (letters, numbers, underscores, dashes and periods; 3 to 48 characters) and press Create.
Grab Your Credentials
Your new database appears in the list with everything you need to connect:
- Host, Port, Database and Username each have their own copy button.
- Press the eye icon to reveal the password, or the copy button next to it to copy it straight away.
- Connection string gives you a ready-made string for resources like oxmysql.
- Open in phpMyAdmin takes you straight to phpMyAdmin to manage tables.
Finished
Your database is ready to use with your server. Need to load an existing dump? See how to import an SQL file via HeidiSQL, or use phpMyAdmin from the button above.
Did this solve your problem?
Still stuck?
Our support team actually knows the games we host. Open a ticket and we will figure it out together.
Open a ticket