MySQL data import to SQLite data

Source: Internet
Author: User
Tags sqlite

SQLite data is very convenient when doing the program. Steps to export to SQLite with MySQL data: (transition with CSV file)

-------------------------------pilot out to the CSV file-------------------------

1. Use navicat software to export MySQL data to TXT file.

2. Note Select Include column header (field name), column delimiter (CSV file with comma).

3. Convert all TXT files to utf-8 encoding.

4, write a rename.bat (ren *.txt *.csv), all unified renaming.

-------------------------------then import the-------------------------with a CSV file

5. Open a DB file with Sqlitemanager.

6. Select Import other files. Select the CSV file.

7. Select or enter the table you want to import in the table column.

8. Be careful to select "First row contains column names" (column name is included in section one)

9. Click Import.

10. Modify the properties of each field.

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.