When you export a database, you are creating a backup file of the database. This backup file is usually a .sql file, and can be used to copy the database to another server. In this article we'll show you how to export your database. Generally when you export a database, one day you'll need to restore it (import). You can find more information on how to restore the export you're creating in this article here: How to Import a MySQL Database using phpMyAdmin.

To export your database, the first thing you'll need to do is log into phpMyAdmin.

If you are an InMotion Hosting customer:

  1. Log into your cPanel
  2. Click the phpMyAdmin icon under the "Databases" heading

If you are not an InMotion Hosting customer:

The steps to access phpMyAdmin vary depending on which hosting provider you are using. If your host uses cPanel, then you should log into cPanel and click the phpMyAdmin icon. If your host does not use cPanel, please contact their support department and ask them how you can access phpMyAdmin.

After you have logged into phpMyAdmin:

  1. Click the database you are working with in the left menu
  2. Click "Export" in the top menu
  3. Under the "Export" heading, ensure that all of your tables are selected and that the "SQL" option is selected.
  4. Under the "Options" heading, ensure that you have selected, "Add DROP TABLE / VIEW / PROCEDURE / FUNCTION"
  5. Under the "Save as file" heading, ensure "Save as file". If you think you database is quite large, choose either "zipped" or "gzipped" to compress the file so it will be easier to download. If you choose none, you will be save the file without compression (which is OK, you don't have to compress the file).
  6. Click "Go"
  7. You will be prompted to either open or save the file. Please select the option to save the file and then save the somewhere you'll remember (such as directly on your desktop).

Congratulations, you have just exported a copy of your database!

using-phpmyadmin-to-export-a-database

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. zone shipping
  2. How do I stop Outlook clients from getting this warning?
  3. how to make editable order in admin in opencart?

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!