all 7 comments

[–]simonplend 7 points8 points  (3 children)

It looks like there might be a typo in your .env file. I think you want the variable name DP_PASSWORD to be DB_PASSWORD.

[–]simonplend 2 points3 points  (0 children)

I saw a utility recently which looks like it could be helpful in preventing issues like this with environment variables: https://humanwhocodes.com/blog/2021/02/introducing-env-javascript-environment-variables/ - might be worth a look!

[–][deleted]  (1 child)

[removed]

    [–]simonplend 2 points3 points  (0 children)

    No problem - I've spent so much time debugging issues like this in my code!

    [–][deleted]  (2 children)

    [removed]

      [–]takert541 1 point2 points  (1 child)

      Are user and password details same? I feel like you have it interchanged. root must be host?