How can I start running my database server
Unanswered
American Kestrel posted this in #help-forum
American KestrelOP
why is this happening;-;
21 Replies
House Wren
you might have exhausted the pool size. As in, there are not more connections available and so it times out.
hard to say without looking at code
hard to say without looking at code
American KestrelOP
this is the only call im making
its a really basic codebase
Silver Marten
try to run npx prisma generate
maybe that'll fix it
American KestrelOP
i did, its a part of the call for pnpm dev
lemme show you
@House Wren
I'm using Vercel's Postgres
@Silver Marten
#postgres
American KestrelOP
@House Wren u there
Have you used Vercel's Postgres before
House Wren
walking the dog hang on, but no I havent 😞
House Wren
I think prisma generate just generates the client stuff (types and such), what you want is
but yeah, it seems you haven't been able to connect to the DB at all. I haven't used Vercel's postgres before so I can't really help there, but in general you just want to make sure that the .env file where the DATABASE_URL is well constructed and that the database/schema you are trying to connect exists
npx prisma db pushbut yeah, it seems you haven't been able to connect to the DB at all. I haven't used Vercel's postgres before so I can't really help there, but in general you just want to make sure that the .env file where the DATABASE_URL is well constructed and that the database/schema you are trying to connect exists
idk if there are any other security considerations when using Vercel's postgres, in other platforms usually you need to whitelist the IP you are connecting from, or open it up to any IPs. So that's another consideration, but again, not sure how that works when using Vercel's Postgres
American KestrelOP
Oh;-;
I tried the db push too, it still gives the same error
I'll see online
I tried the db push too, it still gives the same error
I'll see online
Thanks for trying to help:)
House Wren
np, gl! and share what you learn if you get to solve it 😄