Open MagePsycho opened 5 years ago
We had the same issue.
I poked around using
docker logs <docker-compose-project-name>_web_1
and found this erorr message when the mysql container crashed:
*** buffer overflow detected ***: mysqld terminate
It turns out this topic is known as stated in the mysql docker-library issues: https://github.com/docker-library/mysql/issues/243
This comment describes a combination of circumstances to reproduce the isses: https://github.com/docker-library/mysql/issues/243#issuecomment-277942987
A buffer overflow occurs when:
- You use
mysql:5.7.16
ormysql:5.7.17
- You map a nonexistent/empty folder to
/etc/mysql/conf.d
- Your docker-compose project has a long name
- And you connect to mysql.
(BTW: for us the same thing happened with mysql:5.6.23
)
In the end we changed the directory name to be way shorter (which will be used to create the docker-compose project name). Afterwards everything works fine.
I have edited the
MYSQL_HOST
variable ofenv
file with IP given by:When I connect the DB with the above IP as:
It works fine.
But when I try to install Magento with command:
It gives the error