Import External SQL Server data from MySQL, mysqlsql

Source: Internet
Author: User

Import External SQL Server data from MySQL, mysqlsql

In the previous blog "MySQL 5.6.22 installation tutorial", we introduced MySQL installation. Today, we will mainly explain how to import External SQL Server data in MySQL. In short, it is how to migrate the data in the SQL Server database to the MySQL database.


To achieve the desired data migration, we first need to download a small tool SQLyog and install it on our computer. Next we will start our data migration step by step using this tool:


First, let's take a look at the table structure and data in the SQL Server database.




Open SQLyog and set the data connection:


Create a table with the same table structure as that in the SQL Server database


After the preparation is complete, let's start importing data step by step.


Open the import external data wizard

 

Start a new job


You need to create an ODBC Data Link here. You can use the user DSN or file DSN, and click Create a new DSN.


Create a data source


Select SQL Server


Set save path


Complete


Create an SQL Server Data Source


Enter the logon ID and Password


Change default database


Complete


Test Data Source


Select File DSN


Select the database to be imported from MySQL


Next step


Select the table to be imported and the target table


Next step


Next step


Imported



Finally, let's look at the tables in our MySQL database.



Through the above steps, we can successfully import data from SQL Server to MySQL. Although it is a little complicated, it is actually very simple!





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.