Another process with pid is using unix socket file. Unable to setup unix socket lock file

PHOTO EMBED

Fri Feb 10 2023 21:51:56 GMT+0000 (Coordinated Universal Time)

Saved by @eneki #docker #laravel_sail

// Docker is unable to map the mysql folder containing the socket file.

// Change the following line in the volumes property of your db container in the docker-compose.yml from
- 'sail-mysql:/var/lib/mysql' 

// to 
'- '${MYSQL_DOCKER_FOLDER}:/var/lib/mysql'

// The corresponding env variable might hold something like MYSQL_DOCKER_FOLDER=./mysql

// Create the "mysql" folder at the root of the file
content_copyCOPY