Snippets Collections
// The mysql container is reading from the wrong DB port.

// While 127.0.0.1 might work in the DB client, Docker might have trouble with this. 

// Change the DB_HOST value to your local network's IP as returned by the ifconfig command
// 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

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension