Problem: Unable to Connect to Supabase Database #32676
-
I keep encountering the following error when trying to connect to my Supabase database: Can't reach database server at [your-database-url]. Steps I’ve Taken: Verified the database URL in my .env file. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Make sure you look at this guide: https://supabase.com/partners/integrations/prisma Note the default direct connection is ipv6 only and your system/router/network would all need to support ipv6. |
Beta Was this translation helpful? Give feedback.
-
Thank you, i have resolved the issue |
Beta Was this translation helpful? Give feedback.
Make sure you look at this guide: https://supabase.com/partners/integrations/prisma
Use the connect option to get urls as needed.
Note the default direct connection is ipv6 only and your system/router/network would all need to support ipv6.
Are you using the Supavisor connections?
Also special characters in the password can mess up the URL string if they are not URL encoded.