Troubleshooting "permission denied for database postgres" #3784
-
PostgREST 12.2 I'm connecting PostgREST to a restored database from a dump created using pgdumpall. The source database has a PostgREST instance successfully connected. However PostgREST returns a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It looks to me that the user does not have connection permissions to the database. Perhaps it has to do with a If not, try granting connection privileges and such:
If that's so, check if your |
Beta Was this translation helpful? Give feedback.
It looks to me that the user does not have connection permissions to the database. Perhaps it has to do with a
pg_dumpall
option (e.g. the-x
option does not migrate privileges). Check if you you can connect to the database withpsql
and your "authenticator" user.If not, try granting connection privileges and such:
If that's so, check if your
pg_dumpall
is migrating the permissions correctly.