Importing and exporting a database
Back up or move a database with phpMyAdmin.
On this page
Exporting (backup)
- In cPanel, open phpMyAdmin.
- Select the database on the left.
- Open the Export tab, keep Quick and SQL, and click Export. A .sql file downloads.
Importing
- Create an empty database and user first (see Creating a MySQL database).
- In phpMyAdmin, select the new database.
- Open Import, choose your .sql (or .sql.gz) file and click Import.
Very large databases may time out in the browser. Compress the file as .sql.gz first, or open a ticket and we'll import it for you.