MySQL import of external SQL Server data

Source: Internet
Author: User
Tags dsn mysql import

in the previous blog "MySQL 5.6.22 installation Tutorial", we introduced the installation of MySQL. Today we'll focus on how to import external SQL Server data in MySQL, in short, how we can migrate data from a SQL Server database to a MySQL database.


in order to achieve the data migration we want, we first need to download a gadget SQLyog and then install it on our computer, and then we'll start our data migration step-by-step with this gadget:


First look at the table structure in our SQL Server database and the data in the table




Open SQLyog, set the data connection:

                                           

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


The preparation is ready, so let's start by importing the 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 a user DSN or a file DSN, click Create a new DSN


Create a data source


Select SQL Server


Set Save path


Complete


To create a SQL Server data source


Enter your login ID and password


Change the default database


Complete


Test data source


Select File DSN


Select the database you want to import in MySQL


Next


Select the table and target table to import


Next


Next


Import succeeded



And finally, look at the tables in our MySQL database.



With the above steps we can successfully import the data from SQL Server into MySQL, although it is a bit cumbersome, but it is really simple!





MySQL import of external SQL Server data

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.