Local development with Prisma Postgres
does anyone know what version of the cli makes this port option available?
https://www.prisma.io/docs/postgres/database/local-development#2-applying-migrations-and-seeding-data
I'm on 6.8.2 and it doesnt' seem to be available
---
additionally, does anyone know why Prisma Postgres is trying to access the port set in in the proxy and env variables + 1 to run migrations?
port 51214 isn't listed anywhere in our entire codebase or env vars
12 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai
channel awaits if you're curious!nvm, found both in docs
port is only available for --dev

here's the prisma postgres ports
doesn't solve why I can't reach that database to run migrations though
Hey!
To confirm, you are still unable to run migrations when you are using local prisma postgres with
npx prisma dev
command?yea, unable to run migrations
@Nurul (Prisma) have gotten this down to I cannot get Prisma Postgres to work locally.
The remote Prisma Postgres, hosted by y'all works fine. Migrations, connections, etc.
I cannot get it running (migrating) locally.
all the ports are listening as they should
so the dev server(s) is running
I just cannot connect locally via the tunnel at all
just constantly running in to this...
The
prisma dev
command was launched in the last release, so it might be possible that there is some issue. Can you share the output you get when your run npx prisma --version
?Hey 👋
Can you double check the URL output by
prisma dev
matches the one you're passing as provider.url
in your schema file?
The URL you'd receive from prisma dev
for the default ports changed in a release yesterday.
yup, just double checked.
went through the dev upstart again, went as far as to even hardcode it

still same error
can you start the server with
--debug
and paste the startup sequence logs?