Closed
Description
If 5.7.37 container started through docker, it fails with ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
.
Docker images for 5.7.36 work flawlessly on the same hardware.
How to reproduce:
Run docker run --name my37 -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:5.7.37
(It works the same way with -d
option)
This works fine: docker run --name my36 -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:5.7.36
Docker version:
Version: 20.10.14
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 24 01:48:41 2022
OS/Arch: linux/amd64
Context: default