How to import a database in cPanel (phpMyAdmin)
First create an empty database and user: databases in cPanel.
- Open "phpMyAdmin" (group "Databases").
- Select the database on the left.
- Open the "Import" tab.

- Under "File to import", click "Choose File" and pick the dump:
.sql,.sql.gzor.sql.zip. - Keep the character set
utf-8and the format SQL. - Click "Import" at the bottom of the page.

After the import, the tables appear on the left.
Common errors
| Error | What to do |
|---|---|
| #1044 Access denied ... to database | The dump contains CREATE DATABASE or USE with another database name. Remove these lines from the top of the file. |
| #1227 Access denied; you need SUPER privilege | The dump contains DEFINER=`user`@`host`. Remove DEFINER from the dump or export again without it. |
| File too large / upload breaks | Compress the dump to .gz. If it still fails, contact support and we will load it. |
Importing into a database that already has tables can overwrite data. Export the current database first: database export.