Do the following steps for import/export mysql database:
Open phpMyAdmin.by going to mysql.yourdomain.com (replace yourdomain.com with your own domain name)
- Click Export in the Menu to get to where you can backup you MySql database.
- Make sure that you have selected to export your entire database, and not just one table. There should be as many tables in the export list as showing under the database name.
- Selectâ€SQLâ€-> for output format, Check “Structure†and “Add AUTO_INCREMENT†value. Check “Enclose table and field name with backquotesâ€. Check “DATAâ€, check use “hexadecimal for binary fieldâ€. Export type set to “INSERTâ€.
- Check “Save as fileâ€, do not change the file name, use compression if you want. Then click “GO†to download the backup file.
Restoring a backup of a MySql database
- To restore a database, you click the SQL tab.
- On the “SQLâ€-page , unclick the show query here again.
- Browse to your backup of the database.
- Click Go.