Replies: 22 comments 46 replies
-
That is something not specific with supabase, I'm facing the same issue with prisma. I tried Neon, Supabase, vercel postgres and local postgreSQL, And found out it happens least with vercel postgres and never happens with local postgreSQL. I'm sure there's something wrong with prisma here |
Beta Was this translation helpful? Give feedback.
-
Hi @maikusobu 👋 Thank you for raising this question. Can you make sure your password doesn't have any characters in it like a |
Beta Was this translation helpful? Give feedback.
-
Hello @ludralph 👋, I wanted to share this from a long time about this strange behavior from Prisma where a message shows in the terminal exactly same as "Can't reach database server at ...." |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
-
Sadly No😞 |
Beta Was this translation helpful? Give feedback.
-
⨯ PrismaClientInitializationError: Can't reach database server at |
Beta Was this translation helpful? Give feedback.
-
Hello, I was facing the same issue and solved it encoding some values in my db password. In my case, the DB password included $ and & characters. These characters were causing connection issues due to their special meanings in URLs and environment variables. To resolve this, I URL-encoded these characters in my .env file. Specifically, I replaced $ with %24 and & with %26. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am facing the same problem without being able to solve it, my password doesn't contain any special characters |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
prisma version 5.12.1 Still appear Can't reach database server at `aws-0-ap-southeast-1.pooler.supabase.com:6543 |
Beta Was this translation helpful? Give feedback.
-
Check out these sources: |
Beta Was this translation helpful? Give feedback.
-
Add the end of Database Url Update the prisma to latest. My version |
Beta Was this translation helpful? Give feedback.
-
I encountered a similar issue with Supabase and Prisma. I resolved it by disabling connection pooling and copying the connection string. pooling option on supabase |
Beta Was this translation helpful? Give feedback.
-
facing the same issue changed my password even tried changin account didn't work !! |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, I kind off found the solution for those of you who where using superbase db with prisma I would suggest not to use Superbase db, Just use Neon instead. Neon gave me Database_url and everything worked fine. |
Beta Was this translation helpful? Give feedback.
-
So, I have refreshed my supabase project and following the Prisma docs to the DATABASE_URL I added &pgbouncer=true. Also, I have updated prisma to 5.13.0. Now it's working |
Beta Was this translation helpful? Give feedback.
-
the same error, it work in fibre optique but when I switch to another network, I get error |
Beta Was this translation helpful? Give feedback.
-
I think this has something to do with your location. I got same error while connected to a vpn but after disconnecting my queries started working all fine. Try it out let's see if it works for you too. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem and not using any VPN. I also have added |
Beta Was this translation helpful? Give feedback.
-
I have the same error "Error: P1001: Can't reach database server at I have tried everything. Please help! |
Beta Was this translation helpful? Give feedback.
-
I locked this conversation, as the discussion responses were all misses any helpful information for us to be able to figure out what is going on. I left comments on the individual threads, and please aks everyone who lands here via Google or similar to follow then: To figure this out, when you have this problem, please open a new discussion and share the censored (password removed) connection strings (but include the hostname and other details please!) you are using for Thank you. |
Beta Was this translation helpful? Give feedback.
-
I had tried 2 ways to make the connection:
first one conformed to the documents, it also resulted in error like that
the second:
file schema.js
Beta Was this translation helpful? Give feedback.
All reactions