Use MySqlODBC for MYsql and MSsql7 Data Conversion

Source: Internet
Author: User
It is often used in the NT environment to convert a Mysql database to a MSsql database or to a Mysql database. After MySqlODBC is used, you can use MSSQL7 management tools, mysql management tools, and other management tools. Here is a method for using MMC of SQL7.

It is often used in the NT environment to convert a Mysql database to a MSsql database or to a Mysql database. It is easy to use MySql ODBC. You can use MSSQL7 management tools or mysql management tools. You can also use other management tools. Here is a method for using MMC of SQL7.

It is often used in the NT environment to convert a Mysql database to a MSsql database or to a Mysql database. It is easy to use MySql ODBC. You can use MSSQL7 management tools or mysql management tools. You can also use other management tools. Here we will introduce a method of using MMC of SQL7 to convert data from MSsql7 to a Mysql database, and convert the source and target data to a database of Mssql7.

1. Install the ODBC interface of Mysql
2. Create a DSN for Mysql. You can create a system DSN. Name testmysql here, enter the IP address, dababase, and username and password.
3. In MMC of SQL7, right-click the database to Export and choose All Tasks> Export Datas...
4. Start DTS Export Wizerd ...,
Choose a Data Source: Microsoft ole db Privoder for SQL Server
Server: the server of your MSsql7 Database
Whether to use NT authentication and user name password to check your own. Finally, select a Database, for example, mynews (you need to import the Database to mysql)
Next step
5. Choose a Destination: select Mysql
User/System DSN. If it has been created, select it. If it has not been created, create it.
6. Specify Table Copy or Query
Copy table (s) from the source database, starting from copying a table from the source database
7. Select Source Table
Select the table to be copied. If you do not want to adjust it carefully, select all.
8. Run immediately. Of course, you need to execute it immediately. After the next step is selected, the conversion starts.

Sometimes some tables may fail to be converted. Double-click the failed table to see what the cause is. This is generally due to the Data Type problem of SQL7. Make some minor changes.

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.