Exporting Database Using phpmyadmin
1- Log in to the phpMyAdmin instance on the source server.
2- Click the Export tab (Figure A).
3- From the database drop-down (left navigation), select the database you want to export. (Ex. mysql database)
4- Choose between a Quick or a Custom export. The Quick method should work most of the time, though if you need to get more granular with your export options, click Custom (Figure B). If you choose Custom, you can configure the following:
- Tables: Choose which tables to export.
- Output: Choose the template, character set, and compression for the export.
- Format: Choose to display comments, enclose the export in a transaction, disable foreign key checks, dump table (structure, data, or both).
- Object creation options: Add statements.
- Data dump options: Use INSERT DELAYED or INSERT IGNORE statements, select the function to use when dumping data, select the syntax to use when inserting data, maximal length of created query.
5- Select the format from the Format drop-down (Select SQL).
6- Click the Go button.
7- Save the file (which, by default, should be named wordpress.sql).