我正在尝试使用 pgloader 将 mysql 迁移到 postgres,因为我使用的是 window 所以,我在 windows linux 子系统中安装了 pgloader,并且我使用以下命令来迁移 DB pgloader mysql://root@localhost/f1db pgsql: //postgres@localhost:5433/f1db
KABOOM!
FATAL error: Failed to connect to pgsql at "localhost" (port 5433) as user "postgres": Server requested md5-password authentication, but no password was given.
An unhandled error condition has been signalled:
Failed to connect to pgsql at "localhost" (port 5433) as user "postgres": Server requested md5-password authentication, but no password was given.
What I am doing here?
Failed to connect to pgsql at "localhost" (port 5433) as user "postgres": Server requested md5-password authentication, but no password was given.
Waiting for the monitor thread to complete.
请告诉如何在命令行中为 MYsql 和 Postgres 传递密码,如果我的密码中有@,如何在命令中使用它,因为我们已经在命令中有 user@localhost。