Memcached – connect to docker mysql from host machine
I have docker-compose (showing just MySQL part): site_mysql: image: site/mysql:latest build: ./images/mysql environment: MYSQL_ROOT_PASSWORD: secret volumes: - site_mysqldata:/var/lib/mysql networks: - site_appnet ports: - "3306:3306" I can connect to MySQL from inside the container, but I can't from localhost, the error…