简体   繁体   English

使用 MySQL Workbench 6.2 将 HSQLDB 迁移到 MySQL

[英]Migration HSQLDB to MySQL using MySQL Workbench 6.2

I've to migrate HSQLDB to MYSQL but I don't know how to configure Workbench.我必须将 HSQLDB 迁移到 MYSQL,但我不知道如何配置 Workbench。 I tried to follow this instruction http://dev.mysql.com/doc/workbench/en/wb-migration-overview-steps.html but I've failed.我试图按照此说明http://dev.mysql.com/doc/workbench/en/wb-migration-overview-steps.html但我失败了。 How to properely configure migration ?如何正确配置迁移?

HSQLDB is not a supported source RDBMS in MySQL Workbench but you can try with the generic ODBC source in the wizard. HSQLDB 不是 MySQL Workbench 中受支持的源 RDBMS,但您可以尝试使用向导中的通用 ODBC 源。 But expect problems on the way, because there can be unhandled data types or untested input/output combinations for table fields and similar.但是预计会出现问题,因为可能存在未处理的数据类型或表字段等类似的未经测试的输入/输出组合。

You should use a database migration tool written in Java.您应该使用用 Java 编写的数据库迁移工具。 These tools connect to databases via JDBC and are compatible with both HSQLDB and MySQL.这些工具通过 JDBC 连接到数据库,并与 HSQLDB 和 MySQL 兼容。 One example is Flyway (flywaydb.org).一个例子是 Flyway (flywaydb.org)。

我,在这里您可以看到如何将数据库结构HSQLDB结构迁移到MySQL

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

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