Error: P1000: Authentication failed against database server at localhost, the provided database credentials for postgres are not valid.
After starting Postgres in Docker using
docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
I tried to migrate my Prisma schema using
npx prisma migrate dev --name init
But I was getting this error:
Environment variables loade...
p1000prisma.hashnode.dev2 min read