Thank you for the content, but I'm running into an issue regarding Docker and Prisma. I've also posted the question here > stackoverflow.com/questions/689220...
I'm getting a authentication error when I run npx prisma migrate dev --name "init":
Error: P1000: Authentication failed against database server at localhost, the provided database credentials for db_user are not valid.
I've used your configuration and I'm running Windows. docker ps shows the server is running and Prisma is using the .env file. Any suggestions?
I resolved my issue. I was running a local instance of postgres on my Windows system as well. This was conflicting with the postgres instance in Docker. I removed postgres from Windows and everything is working.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for the content, but I'm running into an issue regarding Docker and Prisma. I've also posted the question here > stackoverflow.com/questions/689220...
I'm getting a authentication error when I run
npx prisma migrate dev --name "init"
:I've used your configuration and I'm running Windows.
docker ps
shows the server is running and Prisma is using the.env
file. Any suggestions?I resolved my issue. I was running a local instance of postgres on my Windows system as well. This was conflicting with the postgres instance in Docker. I removed postgres from Windows and everything is working.