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 ....