The following URL works fine for dump create:
postgres://root:password@localhost:50001/sample_db
However, if the password contains special characters like the following, it doesn’t work:
postgres://root:pass`word@localhost:50001/sample_db
For example, the following command works, so it seems to be a specific issue with Replibyte:
DATABASE_URL=postgresql://root:pass`word@localhost:50001/ec_recommend_db bun prisma db pull
This issue might not be limited to just the backquote character `, also occur on other special characters as well.
error output:
> replibyte -c replibyte.conf.yml dump create
⠁
command error: pg_dump: error: connection to server at "localhost" (::1), port 50001 failed: FATAL: password authentication failed for user "root"
⠴ [00:00:00] [-------------------------------------] 0B/100.00MiB (0s)