Have you by any chance updated your POSTGRES_USER or POSTGRES_DB env var
Related: https://github.com/supabase/supabase/issues/39593
Add these additional env vars in studio service, restart and see if that solves the issue
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.