MSSQL Turn mysql,gb2312 Turn Utf-8

Source: Internet
Author: User
Tags mssql mysql tutorial table name

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.

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.