我正在尝试使用pgloader将mysql迁移到postgres,由于我在使用Windows操作系统,因此我在Windows Linux子系统中安装了pgloader,并使用以下命令迁移数据库: 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了。