How to migrate SQL Server data to MySQL

Source: Internet
Author: User
Tags dsn mssql mysql client

I. BACKGROUND

Because the database used at the beginning of the project is SQL Server, and then the stored database is adjusted to MySQL, SQL Server data needs to be transferred to MySQL; Because of the more tables involved, you want to generate the corresponding table in MySQL and import the data;

On the Internet to find some information, such as: Access and MSSQL into MySQL, MySQL migration implementation of MSSQL to MySQL data migration, although do not know if the practice can be successfully transferred, but inside the process is more complex, did not try, and later found a way , the most important thing is simplicity and accuracy (no obvious bugs are found at the moment), shared here.

Ii. Transfer of data

I use the MySQL client tool SQLyog, the installation of this tool is very simple. After the installation is completed click on the target database to be imported, click the right button "import"-> "import extenal Data";

(Figure1:import)

Select "Start a new job" and click "Next";

(Figure2:start a new job)

The following is the Setup interface for DSN, and if your list does not require you to export a DSN for the SQL Server database, you need to create a new DSN to connect to the SQL Sever with the "Create a new DSN";

(Figure3:create a New DSN)

(Figure4: Create a new data source)

(FIGURE5: Select data Source Type)

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.