GCP SQL via prisma

I got a more or less empty t3-app for test I have tested on 2 databases. postgres on Railway, works perfectly fine postgres on GCP SQL on the second one prisma works fine, I can even do prisma studio and I have no problem accessing data but when I launch the app and I got this error :
tRPC failed on user.users: TRPCError:
Invalid `prisma.user.findMany()` invocation:


Authentication failed against database server at DB_URL, the provided database credentials for DB_USER are not valid.
tRPC failed on user.users: TRPCError:
Invalid `prisma.user.findMany()` invocation:


Authentication failed against database server at DB_URL, the provided database credentials for DB_USER are not valid.
I am probably missing a gcp setting somewhere but why would it work localy via prisma studio but not in nextjs ?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server