anyone know why i keep getting `Error: P1001: Can't reach database server ...`
Answered
American Kestrel posted this in #help-forum
American KestrelOP
I am using Vercel's Postgres db solution and Prisma as the ORM.
But, when I try to connect to it with commands like pnpm prisma db pull / db push, it says
But, when I try to connect to it with commands like pnpm prisma db pull / db push, it says
Prisma schema loaded from prisma/schema.prisma
Environment variables loaded from .env
Datasource "db": PostgreSQL database "verceldb", schema "public" at "ep-fancy-wave-44222360.us-east-1.postgres.vercel-storage.com"
✖ Introspecting based on datasource defined in prisma/schema.prisma
Error: P1001
Can't reach database server at<omitted>.us-east-1.postgres.vercel-storage.com:5432Please make sure your database server is running at<omitted>.us-east-1.postgres.vercel-storage.com:5432.Answered by American Kestrel
maybe i needed to give it a while after changing networks
17 Replies
American KestrelOP
oh
okk
lemme try
nope, still the same issue
@joulev help me;-;
i dont get it, i've been stuck here for a day now
i've tried a bunch of things
@American Kestrel nope, still the same issue
In this case idk sorry. Usually it’s due to the internet network blocking weird stuff, but then if changing network doesn’t work then idk
American KestrelOP
oh 

ok thanks for trying
omg it worked now
American KestrelOP
maybe i needed to give it a while after changing networks
Answer
American KestrelOP
thanks so much!
@joulev
Ohh glad to hear that!