How to Import and Export a Database with phpMyAdmin
phpMyAdmin lets you manage databases in your browser. It’s the easiest way to move a database from another host or keep a manual backup.
Good to know Menu names in this guide follow DirectAdmin’s default Evolution skin. If your dashboard uses a different layout (Grid, Sidebar or Refreshed), the same tools exist under the same names — use the search box at the top of DirectAdmin to jump straight to them.
Open phpMyAdmin
Go to Extra Features › phpMyAdmin, or click the phpMyAdmin link in MySQL Management. Log in with your database username and password if asked.
Export a database
- Select the database in the left sidebar.
- Click Export.
- Keep Quick and SQL selected and click Export (or Go). A
.sqlfile downloads.
Import a database
- Create an empty database first.
- Select it in phpMyAdmin and click Import.
- Choose your
.sqlor.sql.gzfile and click Import (or Go).
File too large? Compress it as
.sql.gz, which is often much smaller. If it still fails, send us the file location and we can import it for you.
Frequently asked questions
Does a DirectAdmin backup include my databases?
Yes, a full account backup created in Create/Restore Backups can include databases when you select them.