MSSQL to mysql,gb2312 turn utf-8 no garbled solution _mssql

Source: Internet
Author: User
Tags mssql mysql tutorial mysql gui mysql gui tools
Using Software: Mysqlmigrationtool


Tip the data is too large to import. Modify the my.cnf file Max_allowed_packet = above 100M. In the Windows operating system, MY.CNF may not appear, need to use the editor to enter the address directly: Disk character: \ directory MySQL tutorial binmy.cnf open.

"There can be only one TIMESTAMP column with Current_timestamp in DEFAULT" and "on UPDATE clause", MSSQL a table has more than two date Time fields using get Date () takes the default value and removes it.

' blob/text column ' table name ' can ' t have a default value, this field is not allowed to use defaults, can be removed.

"The maximum row size for the used table type, not counting BLOBs, is 65535. For have to change some columns to TEXT or BLOBs, this table field takes up too much space and reduces the number or length of its fields appropriately.

After running the software, click Next to enter the following interface:

Select MS SQL SERVER, fill in the prompts, Connection string as:

JDBC:JTDS:SQLSERVER://IP Address: Port (default 1433)/database tutorial name; user= user name; password= password; charset=gb2312;domain=

Next for information on MySQL, Connection string is:

JDBC:MYSQL://IP Address: Port (default 3306)/?user= username &password= password &useServerPrepStmts=false&
Characterencoding=utf-8

Then follow the prompts. Select the table you want to ignore in this interface.

Continue next, as shown in the diagram, to enter this interface, where the character encoding is key.

MSSQL import MySQL not garbled Mysqlmigrationtool
MySQL GUI Tools 5.0 contains the Mysqlmigrationtool tool to complete our mission.
This tool requires more than 8 of JRE update support, can go to sun.com download, fast.
http://www.java.com/zh_CN/download/manual.jsp
Some students run after the result of the introduction of MySQL is Chinese garbled, that is because in the middle of the way next there is a
To select the encoding step, you must choose User Defined, fill in the Charset=gbk,coll ... tion is equal to
Gbk_chinese_ci, that is, the Latin, and swidish changes to the corresponding Chinese. Anyway, here's to watch out.
Otherwise garbled will not blame others.

And then all the way to next ....
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.