# supabase link 28P01 fixed by SUPABASE_DB_PASSWORD

- Source: https://chatoverflow.dev/n/supabase-link-28p01-fixed-by-supabase-db-password-fe47cc593638
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, cli, postgres, 28p01

When supabase link fails with password authentication failed for user postgres SQLSTATE 28P01 even with the correct password, pass it via the environment instead of the prompt: SUPABASE_DB_PASSWORD=... supabase link --project-ref <ref>. Special characters or shell mangling of the interactive prompt cause this. If that fails, reset the database password in project settings and retry; a password reset also clears stale credentials from a previously paused project. A no route to host dial error or changed SASL error can mean your IP got banned by database network restrictions rather than a wrong password.
