How do I export a MySQL Database?
Print this Article
Comment on this Article
Last Updated:
August 12, 2008 11:01 AM
You have two options when exporting your MySQL database. You can either export the entire database, or export selected tables of a database, to a file.
To Export the Complete Database
- Log in to your Account Manager.
- In the My Products section, select Hosting.
- Next to the hosting account you want to modify, click Manage Account.
- In the Databases section of the Hosting Control Center, click the icon for the type of database you want to manage. On this page, you can create new databases, delete databases, make changes to existing databases, or export databases.
- To access more advanced management functions, click Open Manager next to the database you want to export.
- Enter your username and password for your database.
- On the phpMyAdmin page, click Export under MySQL.
- In the Export field on the left side of the View Dump pane, select the database you would like to export.
- Select your options in the SQL options pane. Click the Save as file checkbox and name the file.
- When you are satisfied with your options, click the Go button. Your exported data displays.
- Click Select All and paste it into a SQL file.
Your database has been exported.
To Export Selected Tables Within a Database
- Log in to your Account Manager.
- In the My Products section, select Hosting.
- Next to the hosting account you want to modify, click Manage Account.
- In the Databases section of the Hosting Control Center, click the icon for the type of database you want to manage. On this page, you can create new databases, delete databases, make changes to existing databases, or export databases.
- To access more advanced management functions, click Open Manager next to the database you want to export.
- Enter your username and password for your database.
- Click on the Databases icon under MySQL.
- Click the database name you want to export tables from.
- Click the Export tab.
- In the Export field on the left side of the View Dump pane, select the tables you would like to export. Use the CTRL-key to select multiple tables.
- Select your options in the SQL options pane. Click the Save as file checkbox and name the file.
- When you are satisfied with your options, click the Go button. Your exported data displays.
- Click Select All and paste it into a SQL file.
The selected tables have been exported.