我尝试将从MySQL 5.7迁移到PostgreSQL 11.6,并在Ubuntu18.04上使用装载机。
pgloader -v -d mysql://mysqluser:secret@localhost/dbnamesource pgsql:///postgres:secret@localhost/dbnametargetMySQL和PostgreSQL用户存在,可以在命令行上登录。两人都有格兰特的权利。
上面的脚本输出:
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目标数据库为空。
问题在哪里,或者我能做些什么来发现这个问题?
发布于 2019-12-17 11:11:45
是的,有一个斜杠太多了(在pgsql:之后)。现在它起作用了:
pgloader -v -d mysql://mysqluser:secret@localhost/dbnamesource pgsql://postgres:secret@localhost/dbnametargethttps://stackoverflow.com/questions/59370492
复制相似问题