I'm trying to run a Prisma migration and it's failing today, yet yesterday it worked just fine. Here's the error:
Error: P1001: Can't reach database server at `aws-0-us-east-2.pooler.supabase.com:5432`Please make sure your database server is running at `aws-0-us-east-2.pooler.supabase.com:5432`.
Error: P1001: Can't reach database server at `aws-0-us-east-2.pooler.supabase.com:5432`Please make sure your database server is running at `aws-0-us-east-2.pooler.supabase.com:5432`.
I'm also hitting it directly with
pg_isready
pg_isready
and it seems like it's not available:
❯ /opt/homebrew/opt/libpq/bin/pg_isready --host=aws-0-us-east-2.pooler.supabase.com/postgres --port=5432 --username=postgres.yfjnfqsoqppznpdftkuqaws-0-us-east-2.pooler.supabase.com/postgres:5432 - no response
❯ /opt/homebrew/opt/libpq/bin/pg_isready --host=aws-0-us-east-2.pooler.supabase.com/postgres --port=5432 --username=postgres.yfjnfqsoqppznpdftkuqaws-0-us-east-2.pooler.supabase.com/postgres:5432 - no response
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.