Can anyone think of a reason why the prisma cli ca...
# orm-help
j
Can anyone think of a reason why the prisma cli can connect to our database, but Prisma itself can’t when the connection string is the same? Same environment too.
😕 1
r
is the database/server inside a docker container?
if so, the
host
might be different since you're running the CLI locally, and the server inside a container
j
No. It’s RDS on AWS.
Good thought though.
We SSHed into the server, and edited the datasource in the schema, and did a
npx prisma db pull
, and it works.
But it’s not connecting otherwise.
We are connecting over ssl. We added the
sslcert
connection string query parameter, and that worked for the cli.
The settings shouldn’t be different, should they?