Introduction to using the Navicat tool to import data from Excel into MySQL

Source: Internet
Author: User

    1. First you need to prepare a excel,ps with data: The header corresponds to the field name in the database table:     
    1. Then "File---> Save As. csv file"

    1. If you have Chinese in your data, then you need to process the CSV file, otherwise it will fail to import, with EditPlus or other editor (save can modify the encoding format of the editor), open the CSV file, save is to choose the encoding format of Utf-8, (PS: The encoding format of your database is also utf-8). under Mac We can use numbers to open the CSV file, and then choose the encoding format as utf-8 when exporting.

    • Start the import, we can choose a MySQL graphical tool, I use Navicat for Mac
    1. Select the CSV file you just saved
    1. In particular, if you have a table header, change the column name row to 1 and the first line to 2.

    1. And then the next step until the import is successful.

Introduction to using the Navicat tool to import data from Excel into MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.