Simple import of SQLite data into Mysql database, sqlite data into mysql

Source: Internet
Author: User
Tags heidisql

Simple import of SQLite data into Mysql database, sqlite data into mysql

Recently, I was working on a laboratory equipment management system. I used SQLite databases. Because they are online, I changed them to Mysql databases. It is too slow to manually import a large amount of data, is there any import method?
I did not dig deep here, but completed my own task. I first set up the fields in the sqlite database in HeidiSQL.
The two most common methods on the Internet are SQL export and csv export. Here we try to use CSV to transfer data.
SQLite tool I use SQLiteStudio2.1.5 http://sqlitestudio.pl /? Act = download
Mysql I use the HeidiSQL8.3 http://www.heidisql.com/download.php

SQLiteStudio open the database file, find the table, right-click the menu to export the table, all the default options, export SQL
After selecting a table in HeidiSQL, You can import the SQL script file in the tool menu. For other default options, delete all statements for creating database fields, leaving only the database statements for data insertion,
Run.

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.