Callum
Explore posts from serversPrisma not connecting to DB once deployed
Is there an alternative way I should communicate with the database other than the URL if the database is in the same project? It would make sense to utilise private network if its available, but I thought it was just for services
20 replies
Prisma not connecting to DB once deployed
Sure, just checking the docs, it looks like I do this by adding some parameters to the connection URL, is that right? https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/connection-pool
20 replies
Prisma not connecting to DB once deployed
As an update I've tried adding a dockerfile for the build but I am running into the same issue. The postgres database is also logging some information, which I am assuming is related but that might be wrong:
2023-08-03 08:33:24.100 UTC [45359] LOG: could not receive data from client: Connection reset by peer
2023-08-03 08:34:34.937 UTC [45365] LOG: could not receive data from client: Connection reset by peer
Again, its really strange as I have no trouble connecting to the db from the other project or from my local machine
20 replies