我有一个旧的MySQL4数据库与latin1字符集的Cyrilic内容,我需要迁移到MySQL5与utf8。当我创建mysql转储时,我看到了奇怪的字符,我可以按比例进行恢复。
有什么帮助吗?
发布于 2011-08-04 22:40:26
您需要使用参数--default-character-set设置为源数据库的值(拉丁1)进行转储,更改txt文件中数据库和表的字符集,然后使用目标数据库的字符集(Utf8)进行恢复:
具体操作步骤如下:
http://itworkarounds.blogspot.com/2011/07/mysql-database-migration-and-character.html
https://stackoverflow.com/questions/6943348
复制相似问题