With HeidiSQL you open your server's database on your own computer. You can browse and edit tables, run SQL files and make a backup. It's free and works with every database from the panel, for example for FiveM (ESX, QBCore, Qbox) or Minecraft plugins such as LuckPerms and CoreProtect.
Only download HeidiSQL from heidisql.com. There's an installer and a portable version for Windows, and also a version for Linux and macOS.
1. Your details in the panel
In the game panel, go to Databases. No database yet? Create one as in Create a MySQL database.
Click Database Details next to your database. You need four details:
- Endpoint:
db1.elitestarhosting.com:3306, the address (1) and the port (2). - Username (3): for example
u1234_AbCd12EfGh. - Password (4): click it to copy it.
- The name from the list (5), for example
s1234_fivem.
2. What goes where?
The numbers in the screenshots belong together: what has number 1 in the panel goes in the HeidiSQL field with number 1, and so on.
- Open HeidiSQL. You see the Session manager.
- Click New at the bottom left and give the session a name, for example
My FiveM server. - Fill in the Settings tab as below.
- Click Save and then Open.
- Network type: MariaDB or MySQL (TCP/IP).
- Library: leave it as it is.
- Hostname / IP (1):
db1.elitestarhosting.com, without:3306. - User (3): your Username.
- Password (4): your Password.
- Port (2):
3306. - Databases (5): your database name, such as
s1234_fivem. Not required, but then you only see your own database.
Your database is now on the left. Click it to see your tables, and open a table's Data tab to see its rows. Is your server running? Stop it before you change data, or the server may overwrite your change.
3. Run an SQL file
Scripts and plugins often come with a .sql file that creates their tables.
- Click your database on the left.
- Choose File and then Run SQL file....
- Pick the
.sqlfile. HeidiSQL runs it in the selected database.
Does the file contain CREATE DATABASE or USE with another name? Then you get Access denied for user ... to database, because you can only use your own database. Open the file with File and Load SQL file..., delete those lines and run the rest with F9.
4. Make a backup
A backup in the panel holds your files, not your database. So back up your database too:
- Right-click your database and choose Export database as SQL.
- Tick your tables. Under Data:, choose Insert, and under Output:, choose Single .sql file.
- Choose where the file goes at Filename: and click Export.
To restore it, run that file as in step 3.
Not working?
Access denied for user: your username or password is wrong. Copy them again. Did you fill in Connection From when you created the database? Then only that IP address may connect.Can't connect to server onwith10060: no answer. Check Hostname / IP and Port. Some school and work networks block port 3306: try another network, such as your phone's hotspot.Unknown server host: there's a typo in Hostname / IP, or:3306is still behind it.
HeidiSQL keeps your password in its settings. On a shared computer, tick Prompt for credentials instead. Never share your password, not even with us. Leaked? Click Rotate Password under Database Details and put the new password in your server or plugin.


