ImperialHost.cc · Guides · Files, databases and backups
Manage your database in phpMyAdmin
phpMyAdmin is a database manager in your browser. You see the tables, edit data and upload or download a backup of the database. You sign in with the database details from the game panel.
Before you start
- A database created in the game panel on the Databases tab.
1. Sign in
- In the game panel open the Databases tab and click the eye icon next to the database. You see Username and Password.
- Click Open phpMyAdmin below the list of databases, or open phpmyadmin.imperialhost.cc.
- Paste Username and Password from the panel into the Username and Password fields and click Log in. Your client area details don't work here.
2. Upload or download a backup
- Click your database on the left (
s123_…). - To upload a backup: the Import tab, pick an
.sql,.sql.gzor.zipfile up to 256 MB and confirm with the button at the bottom. - To download a backup: the Export tab, the quick method and the SQL format, confirm with the button at the bottom.
A backup on the Backups tab of the game panel holds only the server's files, not the database. Back up the database with an export.
3. Security
- Log out of phpMyAdmin when you are done.
- If a database password leaks, open the eye icon next to the database in the game panel and click Rotate Password. Then put the new password in the settings that use the database (for example
server.cfgfor FiveM orwp-config.phpfor WordPress), or the server can't reach the database.
Troubleshooting
phpMyAdmin refuses the login
Copy Username and Password from the panel again, with no spaces at the start or end. After Rotate Password only the new password works.
Why can't I reach the database from my computer
The address in Endpoint is an internal address of our network. It belongs only in the server's settings, your computer can't reach it. That is what phpMyAdmin is for.
The import fails
Pack a file bigger than 256 MB as .sql.gz, or split it into smaller parts. If the tables already exist, import into an empty database.
Still stuck?
Message us on Discord. The AI assistant Aurel answers first, and you can call an admin. Or open a ticket in the client area.