DEV Community

Discussion on: Set up a free PostgreSQL database on Supabase to use with Prisma

Collapse
 
medicmen profile image
MedicMen

I Did everything like in starter, but I got an error during connection --> Error: P1001: Can't reach database server at ...

Do you know why ?

Collapse
 
peteoyable profile image
Julien Boulevart

Hey @medicmen I know it's been awhile but I had the same issue yesterday and I was able to find the solution, maybe you have the same issue.

It turns out my password had some special symbols, and when using the direct connection string, you have to percent-code those symbols. It is specified in the doc here. It should probably be said somewhere else but still, I have managed to have the connection working as expected.

Maybe it is too late but I hope you did not give up : )