以下是我将本机MsSql 2008数据库导入远程Mysql(192.168.1.110)实现从MsSql GBK转换到Mysql utf8数据库中。 安装Sql Server 2008 导数据略。 安装MySQL Migration Toolkit、JDK略 MySQL Migration Toolkit下载地址:http://dev.mysql.com/downloads/gui-tools/5.0.html 配置图解如下: 1. 点击“开始”-“程序”-“MySQL”-“MySQL Migration Toolkit”,运行MySQL Migration Toolkit。
2. 点击“Next” 选择“Direct Migration”,点击“Next”, 在“Source Database”中填写你要转换的源数据库的一些参数
3. 在“Target Database”中填写你转换后的数据库类型的一些参数 4. Reverse Engineering,显示“Execution completed successfully”则说明数据转换成功 5. Object Type Selection 选中“Objects of type Oracle Table”和 “Objects of type Oracle View”,如需迁移其它对象类型,在相应选项前勾中。 通过“Detailed selection”选择不需要迁移的对象 6. Object Mapping 修改“Migration of type Oracle Schema” “Migration method”选择“Multilanguage”; “Migration of type Oracle Table” “Migration method” 选择”Data consistency/multilanguage” 7. Migrated Objects这个工具转换是有写bug,有些字段不能转换,会在下面报语法错误,特别注意这一步能修正语法。
8. Creating Objects显示“Execution completed successfully”则表示对象创建成功;如果报语法错误,步骤7修复。
11. 最后就是数据传输了,传完后会有一个Summary,显示迁移过程日志,查看是否有问题 转载请保留固定链接: https://linuxeye.com/database/777.html |