Export data from a database table using Navicat for MySQL
This topic explains how to use Navicat for MySQL to export data from a Web Hosting MySQL database table to an Excel file.
Prerequisites
Install Navicat for MySQL. You can download it from the Navicat official website.
Background information
If you need to add or modify a large amount of data in a Web Hosting MySQL database table, you can use Navicat for MySQL to simplify the process. First, export the table to an Excel file. After you edit the data in Excel, you can import the updated table back into your database.
Procedure
-
Start Navicat for MySQL.
-
In the left-side navigation pane, right-click the database table that you want to export and select Export Wizard.
-
In the Export Wizard dialog box, under Table type, select Excel File (2007 or later) (*.xlsx) and click Next.
The Table type section in the Export Wizard dialog box lists several file formats, including Paradox File, DBase File, HTML File, Excel File, Word File, SQL Script File, XML File, and Lotus 1-2-3 File.
-
Select the table to export, and in the Export column, set the local save path for the exported table.
In the Source column, select the checkbox for your target table. In the Export to column for the same row, click the ... button to choose a local path and enter a file name.
-
Specify which columns to include in the export.
The Source table drop-down list shows the table that you are exporting. Below this, the Available fields list contains all columns in the table. To the right are the Select All and Deselect All buttons, and the All fields checkbox.
Do one of the following:
-
To export all columns: The All fields checkbox is selected by default. Click Next.
-
To export specific columns:
-
Deselect the All fields checkbox.
-
From the Available fields list, select the columns that you want to export.
-
This example proceeds with exporting all columns.
-
-
Configure additional options as needed, then click Next.
NoteWe recommend selecting Include column headers so that the exported Excel file includes the column titles.
-
Click Start.
Result
The export is complete.
You can then find and open the exported file at the location you specified.