pgloader 无错误退出(MySQL 5.7 到 PostgreSQL 11.6)

pgloader exit without error (MySQL 5.7 to PostgreSQL 11.6)

我尝试将 从 MySQL 5.7 迁移到 PostgreSQL 11.6 pgloader Ubuntu 18.04.

pgloader -v -d mysql://mysqluser:secret@localhost/dbnamesource pgsql:///postgres:secret@localhost/dbnametarget

MySQL 和 PostgreSQL 用户存在并且可以在命令行上登录。两者都具有 GRANT 权限。

以上脚本输出:

sb-impl::*default-external-format* :UTF-8
tmpdir: #P"/tmp/pgloader/"
2019-12-17T08:29:55.019000Z NOTICE Starting pgloader, log system is ready.
2019-12-17T08:29:55.029000Z INFO Starting monitor
2019-12-17T08:29:55.033000Z INFO Stopping monitor

目标数据库为空。

问题出在哪里或者我该怎么做才能找到问题?

是的,斜线太多了(在 pgsql: 之后)。现在有效了:

pgloader -v -d mysql://mysqluser:secret@localhost/dbnamesource pgsql://postgres:secret@localhost/dbnametarget