简体   繁体   English

MySQL的SQL Server迁移助手(中文显示错误)

[英]SQL Server Migration Assistant for MySQL (Chinese display error)

SQL Server Migration Assistant for MySQL (Chinese display error) MySQL的SQL Server迁移助手(中文显示错误)

I am using SQL Server Migration Assistant for MySQL to migrate from Mysql to SQL Server我正在使用 SQL Server Migration Assistant for MySQL 从 Mysql 迁移到 SQL Server
After the migration data is completed Chinese display ??迁移数据完成后中文显示?? Error display!错误显示!
https://i.stack.imgur.com/Q3H7k.png
迁移工具迁移工具https://i.stack.imgur.com/ELwFc.png

Our data is available in four languages zh_TW zh_CN pt_PT en我们的数据有四种语言版本 zh_TW zh_CN pt_PT en
I finally solved the problem completely我终于彻底解决了这个问题
When I link SQL server data, I set charset = utf8, but there are still individual displays in Chinese Simplified "?"链接SQL服务器数据时,设置charset = utf8,但还是有个别显示中文简体“?”
At last, we set the field type to nvarchar (max).最后,我们将字段类型设置为 nvarchar (max)。 At first, I knew that modifying the field type could solve the problem, but we were migrating data and could not modify the field type.一开始我知道修改字段类型可以解决问题,但是我们在迁移数据,不能修改字段类型。 Using symfony schema update to generate SQL statements also did not support nvarchar (max).使用 symfony 模式更新生成 SQL 语句也不支持 nvarchar (max)。 At last, we modified the source code of generating SQL statements.最后,我们修改了生成SQL语句的源代码。 Using text type, we could compile nvarchar (max)使用文本类型,我们可以编译 nvarchar (max)

enter image description here在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM