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
?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
Authentication error
when querying.
If i add back
?pgbouncer=true
?pgbouncer=true
and remove the default pool size, now I still get the same
Authentication error
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}
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
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.