PrismaP
Prisma8mo ago
25 replies
Brad

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

! unknown or unexpected option: --port


---

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?

> @acme/database@0.0.1 db:migrate:dev /Users/work/acme/monorepo/packages/database
> prisma migrate dev

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schemas "acme, public" at "localhost:51213"

Error: P1001

Can't reach database server at localhost:51214

Please make sure your database server is running at localhost:51214.

 ELIFECYCLE  Command failed with exit code 1.


port 51214 isn't listed anywhere in our entire codebase or env vars
Was this page helpful?