Next.js Discord

Discord Forum

Prisma client working before, but for some reason stopped working?

Answered
Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
I had prisma with cockroachdb working for a long time, but for some reason it now stopped working when deployed, didn't change any env variables on nextjs. It still works fine locally, I can login with google and stuff with localhost, but deployed it throws an AdapterError and PrismaClientInitializationError saying it can't reach the database server. Has anything changed with nextjs that could've caused this?
Answered by Masai Lion
I literally just redeployed and it just fixed itself? Idk anymore I guess maybe it was under 24 hr maintenance or something
View full answer

2 Replies

Masai LionOP
it was working fine, then it just stopped, the top production deployment is just the same as the bottom one, but fails
Masai LionOP
I literally just redeployed and it just fixed itself? Idk anymore I guess maybe it was under 24 hr maintenance or something
Answer