© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
31 replies
DH

Can't connect with direct connection "could not translate host name"

Running
psql -Atx "postgresql://postgres:[redacted]@db.[redacted].supabase.co:5432/postgres"
psql -Atx "postgresql://postgres:[redacted]@db.[redacted].supabase.co:5432/postgres"
gives the following error:
psql: error: could not translate host name "db.[redacted].supabase.co" to address: nodename nor servname provided, or not known
psql: error: could not translate host name "db.[redacted].supabase.co" to address: nodename nor servname provided, or not known
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

SQLSTATE[08006] [7] could not translate host name
SupabaseSSupabase / help-and-questions
4mo ago
Error: could not translate host name to address
SupabaseSSupabase / help-and-questions
13mo ago
Can't connect Supabase to power bi, getting error: couldn't translate host name
SupabaseSSupabase / help-and-questions
15mo ago
Can't use direct connection
SupabaseSSupabase / help-and-questions
8mo ago