Supabase database not running

I'm continously getting this error not able to migrate to the database, what could be the reason for this, how can I fix it?
user31@MacAdmin % npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-1-ap-northeast-2.pooler.supabase.com:5432"

Error: P1001: Can't reach database server at `aws-1-ap-northeast-2.pooler.supabase.com:5432`

Please make sure your database server is running at `aws-1-ap-northeast-2.pooler.supabase.com:5432`.

user31@MacAdmin % npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-1-ap-northeast-2.pooler.supabase.com:5432"

Error: P1001: Can't reach database server at `aws-1-ap-northeast-2.pooler.supabase.com:5432`

Please make sure your database server is running at `aws-1-ap-northeast-2.pooler.supabase.com:5432`.
user31@MacAdmin % npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-1-ap-northeast-2.pooler.supabase.com:5432"

Error: P1001: Can't reach database server at `aws-1-ap-northeast-2.pooler.supabase.com:5432`

Please make sure your database server is running at `aws-1-ap-northeast-2.pooler.supabase.com:5432`.

user31@MacAdmin % npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-1-ap-northeast-2.pooler.supabase.com:5432"

Error: P1001: Can't reach database server at `aws-1-ap-northeast-2.pooler.supabase.com:5432`

Please make sure your database server is running at `aws-1-ap-northeast-2.pooler.supabase.com:5432`.
No description
6 Replies
Shivansh
ShivanshOP4d ago
Still getting this
npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-1-ap-northeast-2.pooler.supabase.com:5432"

✔ Enter a name for the new migration: … iniit
Error: P1001

Can't reach database server at `aws-1-ap-northeast-2.pooler.supabase.com:5432`

Please make sure your database server is running at `aws-1-ap-northeast-2.pooler.supabase.com:5432`.
npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-1-ap-northeast-2.pooler.supabase.com:5432"

✔ Enter a name for the new migration: … iniit
Error: P1001

Can't reach database server at `aws-1-ap-northeast-2.pooler.supabase.com:5432`

Please make sure your database server is running at `aws-1-ap-northeast-2.pooler.supabase.com:5432`.
silentworks
silentworks4d ago
Check your Network Bans to see if your IP is in there and remove it https://supabase.com/dashboard/project/_/database/settings#network-restrictions
Shivansh
ShivanshOP2d ago
There is no IP ban and I'm still getting this issue not able to migrate db schema changes
Shivansh
ShivanshOP2d ago
No description
Shivansh
ShivanshOP2d ago
No description
garyaustin
garyaustin2d ago
Did this work at one point? Are you using username postgres.INSTANCE_ID where INSTANCE_ID is your project id? Any special characters in your password? You might try connecting to the DB thru PSQL to see if Prisma or not.

Did you find this page helpful?