我正在尝试使用 EnterpriseDB 迁移工具将我的 MySQL 数据库转换为 PostgreSQL。我的设置如下:
- 视窗 10 x64
- MySQL 5.5.52 社区版 GPL
- EDB PostgreSQL 9.6.2-2
- EnterpriseDB 迁移工具包 50.0.1
问题是 - 它成功连接到源 MySQL 和目标 PostgreSQL,但随后失败并出现错误“无法识别的配置参数 db_dialect”:
C:\Program Files (x86)\edb\mtk\bin>runMTK -sourcedbtype mysql s2c_data
Running EnterpriseDB Migration Toolkit (Build 50.0.1) ...
Source database connectivity info...
conn=jdbc:mysql://localhost:3306/s2c_data?zeroDateTimeBehavior=convertToNull
user =s2c_data_user
password=******
Target database connectivity info...
conn =jdbc:edb://localhost:5432/s2c_data
user =s2c_data_user
password=******
Connecting with source MySQL database server...
Connected to MySQL, version '5.5.52-log'
Connecting with target EDB Postgres database server...
Connected to PostgreSQL, version '9.6.2'
Importing mysql schema s2c_data...
MTK-17003:Error in copy tables: java.sql.SQLException: com.edb.util.PSQLException: ERROR: unrecognized configuration parameter: "db_dialect"
MTK-03000: General Error DB-null: java.sql.SQLException: java.sql.SQLException: java.sql.SQLException: com.edb.util.PSQLException: ERROR: unrecognized configuration parameter: "db_dialect"
One or more schema objects could not be imported during the migration process. Please review the migration output for more details.
Migration logs have been saved to C:\Users\Alex_R\.enterprisedb\migration-toolkit\logs
******************** Migration Summary ********************
Total objects: 0 Successful count: 0 Failed count: 0 Invalid count: 0
*************************************************************
C:\Program Files (x86)\edb\mtk\bin>
有人遇到同样的问题吗?似乎是 EDB MTK 中的一个错误,但可能是我遗漏了一些东西。将不胜感激任何帮助。