Supervisor Change Broke Local & Production

I saw the supervisor email. In my nextjs app which is using prisma, I updated my connection string to reflect what it says in my database settings. Looks like all that changed was removing ?pgbouncer=true.

After that change I kept getting connection error messages. Thought maybe it was my default pool size as the input was empty. I changed it to 200. Now I get Authentication error when querying.

If i add back ?pgbouncer=true and remove the default pool size, now I still get the same Authentication error Now I cant make any connection to my database locally or even in production

My prisma schema connection setup is:

datasource db {
  provider  = "postgresql"
  url       = env("DATABASE_URL")
  directUrl = env("DIRECT_URL") // figure out how to make optional so not exposed in production
}


Any help as to what I've done wrong would be greatly appreciated, my sites down till fixed
Screenshot_2024-01-08_at_9.10.37_AM.png
Was this page helpful?