Answer the question
In order to leave comments, you need to log in
How to solve database access problem in docker?
I don’t understand why periodically there is a problem with accessing the database in the docker,
there are several containers with the database, I start everything ok, I stopped working,
I go into another container, there are problems with the database ,
the error is this:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name does not resolve
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question