© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
MAXXtreme

CLI link to project error

When I use the CLI (v1.0.7) and run
supabase link --project-ref PROJECT_ID
supabase link --project-ref PROJECT_ID
, I get an error:
Error: failed to connect to `host=db.PROJECT_ID.supabase.co user=postgres database=postgres`: failed SASL auth (FATAL: SASL authentication failed (SQLSTATE 08P01))
Error: failed to connect to `host=db.PROJECT_ID.supabase.co user=postgres database=postgres`: failed SASL auth (FATAL: SASL authentication failed (SQLSTATE 08P01))

How can I connect my local instance to my project?
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

supabase-cli link hostname resolving error
SupabaseSSupabase / help-and-questions
4y ago
CLI - supabase link - "failed to connect to postgres" error
SupabaseSSupabase / help-and-questions
2y ago
Pausing project & Supabase CLI
SupabaseSSupabase / help-and-questions
6mo ago
How to link a supabase project?
SupabaseSSupabase / help-and-questions
4y ago