Skip to content

Docker Error: "getaddrinfo ENOTFOUND mysql" #35

Answered by ptrumpis
Electrocentaur asked this question in Q&A
Discussion options

You must be logged in to vote

It could be a Docker DNS issue.

Possible quick fix: Edit this line and change mysql to 127.0.0.1


Can you provide more information

  • Is the mysql container running?
  • Did you initialize everything with docker compose up?
  • Are you using default settings or did you customize anything?
  • What operating system are you on?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Electrocentaur
Comment options

@ptrumpis
Comment options

Answer selected by ptrumpis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants