Thank you so much, it is very useful for newbies like me) At the same time, if I try psql --host=db --username=dbuser --dbname=todoapp , I get psql: error: could not translate host name "db" to address: nodename nor servname provided, or not known . Other commands work as expected. What does it mean and how to fix it?
psql --host=db --username=dbuser --dbname=todoapp
psql: error: could not translate host name "db" to address: nodename nor servname provided, or not known
Hi, For me it's ok with: psql --host=database --username=dbuser --dbname=todoapp but I do not know why
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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 so much, it is very useful for newbies like me) At the same time, if I try
psql --host=db --username=dbuser --dbname=todoapp
, I get
psql: error: could not translate host name "db" to address: nodename nor servname provided, or not known
. Other commands work as expected. What does it mean and how to fix it?
Hi,
For me it's ok with:
psql --host=database --username=dbuser --dbname=todoapp
but I do not know why