Error creating a database connection
Hi, I get errors when trying to view studio of my new database cme7b43dz02es09m0d03dkuq3.
After some time it works again without any issue and then fails with the same error again. My production app cannot make any query.
10 Replies
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into
#ask-ai
if you get antsy for a second opinion!Hey @komo
I am getting this checked.
Can you try restarting database instance from Settings page in Prisma Console and check if you still get the same error?
Can you let me know if you are using
prisma+postgres://
connection string or the direct connection string starting with postgres://
?I used the direct connection string
postgres://
I also had the errors on the hosted studio though
I will try to restart
Thanks
what's the difference between the 2 connection strings?We saw some connection limits related error. We are increasing that limit for you.
You can continue using direct connection string
The Accelerate connection string allows you to do caching while the direct connection string does not
got it, thanks a lot
sorry @Nurul , still have the same issue. Maybe one of my requests is crashing the database 😅

here are my vercel logs
Do I need pooling or something?
Sorry for the delay in getting back. Let me inform our team internally
no worries, thanks for getting back to me
any news on this?
There doesn't seem to be any obvious issues that we can see.
This issue seems specific to Prisma Studio, are you using enums in your prisma schema by any chance?
Are all of your queries failing with this same error? There are ample connections available for your database instance.