Hey guys, I'm trying to connect to existing postgr...
# orm-help
s
Hey guys, I'm trying to connect to existing postgres running on amazon rds. But I'm getting
Exception in thread "main" org.postgresql.util.PSQLException: ERROR: permission denied for database
. I can even connect to the db inside prisma container using psql with the same username/password. What have I done wrong?
n
how are you trying to connect?
s
Have a look at my docker-compose.yml below. I just provide username/password with the host.
n
I can even connect to the db inside prisma container using psql with the same username/password.
what do you mean with that?
s
I mean when I ssh into my prisma container, I can use psql command to connect to remote db. Only when I run prisma and prisma itself cannot connect because of permission issue. Could it be that prisma requires admin rights to modify the existing db?
n
I am not sure! Could you please provide a bug report here so we can look closer into this: https://github.com/prisma/prisma? 🙂