title: Docker using of MySQL password null
body: <p>I am running my docker images correctly in my Symfony project on Windows.</p>
  
  <p>I set up MySQL environment variables that I used before with WAMP but SQLyog throws:</p>
  
  <pre><code>Access denied for user 'root'@172.18.0.1 (using password: NO)
  </code></pre>
  
  <p>My docker config yml in project looks:</p>
  
  <pre><code>    version: '3'
  
  services:
    project_web:
        container_name:  project_web
        build: ./scripts/provision/docker/nginx/
        depends_on:
          - " project_php"
        ports:
            - 8080:80
        volumes:
            - .:/var/www/html:cached
     project_php:
        container_name:  project_php
        build: ./scripts/provision/docker/php-fpm/
        depends_on:
          - "prosper_mysql"
        expose:
            - 9000
        volumes:
            - .:/var/www/html:cached
     project_mysql:
        container_name:  project_mysql
        image: mysql:5.7
        volumes:
            - ./scripts/provision/docker/mysql/data:/var/lib/mysql:cached
            - .:/var/www/html:cached
        ports:
            - 3306:3306
        environment:
           MYSQL_ROOT_PASSWORD: MYSQL_ALLOW_EMPTY_PASSWORD=1
           MYSQL_DATABASE:  project_db
           MYSQL_USER: root
           MYSQL_PASSWORD: null
  </code></pre>