Thursday, February 1, 2018

laradock connect to database error #2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured)

go to the laradock folder->.env find the line # Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`

DOCKER_HOST_IP=10.0.75.1

this is the mysql db_host_ip is 10.0.75.1


No comments: