Convert Excel and MYSQ l databases to each other

Source: Internet
Author: User
Tags import database

Easy to do without code, refer to Http://jingyan.baidu.com/article/fc07f9891cb56412ffe5199a.html

1.excel turn MySQL

  A. First confirm what your database is encoded, take utf-8 as an example,
B. You first open the Excel file, the file is listed as standard,

     

Then save and select Save As. csv file.
C. Then open the. csv file with a text editor (Sublime) and Save as Utf-8 csv (file->set file Encoding to UTF-8)

D. Open Navicat for MySQL to find the table to insert

    

Click the Import button to select the. csv file

    

Figure (1)

Select the corresponding. csv file in the indicated area

    

Figure (2)

Column name line: Figure 5 The number of rows in the Excel table used to select the corresponding number of columns

First row of data: Import MySQL data from a few lines in an Excel table

    

Figure (3)

Red indicates the option to import the table

    

Figure (4)

Select the number of columns in the Excel table that the import database corresponds to

    

Figure (5)

Click Next to import.

2.Mysql Data Export Excel

  Open the table you want to export data with Navicat for MySQL, click the export icon below

    

 Select the Excel file (*.xls) option, which you can do as prompted.

    

Figure (6)

Convert Excel and MYSQ l databases to each other

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.