Knowledge Base

Powered by Network Solutions: How to Backup and Restore a MySQL Database

In this article, we will discuss:

Creating a Backup of a MySQL Database via the phpMyAdmin Export Method

You can download a backup of your MySQL database by exporting its .sql file via the phpMyAdmin.

Here are the steps to export your MySQL database.

  1. Log in to your account via https://www.networksolutions.com/my-account/login.
  2. Click Websites & Hosting from the left navigation menu.

    website and hosting menu
     
  3. Navigate to the hosting package that you want to access the database for, then click Manage to continue.

    single hosting manage
     
  4. In the left pane, click on MySQL Management.

    MySQL Management

  5. Look for the database you want to export to and click its Manage button.

    Database - Manage button

  6. On the Database Management page, click the phpMyAdmin link.

    Database Management - phpMyAdmin link

  7. With the database selected in the left pane, click the Export tab in the top menu.

    phpMyAdmin - Export button

  8. Select Quick as the Export method.

    Export method - Quick

  9. Select SQL from the Format drop-down menu.

    Format - SQL

  10. Click the Go button to initiate the download/export process.

Your database will be downloaded into your computer as a .sql file.

 

Restoring a MySQL Database via the phpMyAdmin Import Method

To export your MySQL database.

  1. In the left pane, click on MySQL Management.

    MySQL Management

  2. On the MySQL Management page, click + Add MySQL Database.

    MySQL Management - Add MySQL Database

  3. Enter a name for your database, then click Next.

    MySQL Management - Enter database name

  4. Type your database username and password, then click on Save.

    MySQL Management - Enter username and password

  5. In the next pop-up, set the database privileges.

    MySQL Management - Set privileges

  6. On the Database Management page, click the phpMyAdmin link.

    Database Management - phpMyAdmin link

  7. With the database selected in the left pane, click the Import tab in the top menu.

    phpMyAdmin - Import button

  8. Click the Choose File button and select the database file you want to import.

    phpMyAdmin - Import button - Choose File

  9. Scroll down and click the Go button.
  10. Once your database is finished importing, you will see that your new database is now populated with your imported database information.

 

Review

The article provides the information in a straightforward format, making it easier to follow the process from start to finish. The content is organized in a logical order, allowing users to locate the details they need without unnecessary effort. Overall, it supports a smoother self-service experience by helping users complete the task with fewer questions.

 

Get practical tips and product updates on LinkedIn.
Follow Network Solutions