© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•14mo ago•
17 replies
Danish

Switching Between two different local Supabase Projects issue

When switching between two Supabase projects using supabase link and supabase unlink, running supabase start for the previously linked project results in an error. It appears the local Supabase environment remains configured for the new project, causing conflicts.

To Reproduce

Steps to reproduce the behavior:

Create two Supabase projects: Set up two separate Supabase projects (e.g., Project A and Project B).
Link to Project A: In your terminal, navigate to your Project A directory and run supabase link --project-ref <Project A ref>.
Start Project A: Run supabase start. This should work correctly.
Link to Project B: Navigate to your Project B directory and run supabase link --project-ref <Project B ref>.
Start Project B: Run supabase start. This should also work correctly.
Unlink Project B: Run supabase unlink.
Attempt to start Project A: Navigate back to your Project A directory and run supabase start. This will likely result in an error.

Expected behavior:
supabase start should successfully start the local Supabase environment for Project A, regardless of previous linking to Project B.
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

Looking to sync two supabase projects
SupabaseSSupabase / help-and-questions
13mo ago
MCP connecting to two different projects (Cursor)
SupabaseSSupabase / help-and-questions
7mo ago
Sharing auth between two projects within organization?
SupabaseSSupabase / help-and-questions
3w ago
Edge Function 500 error : Different behavior in different supabase projects
SupabaseSSupabase / help-and-questions
3mo ago