Answer the question
In order to leave comments, you need to log in
docker-compose and mysql. What is the problem?
Good afternoon.
Docker-compose up --build -d starts the container correctly. But at a connection to mysql the error falls out.
version: "3.6"
services:
db:
image: mysql:5.7
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
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