title: How to change database name from default to custom in laradock?
body: <p>Everything is okay when I use default name. But when I change database name I can't   migrate. 
  Here is my <strong>mysql setting from laradock/.env</strong></p>
  
  <pre><code>### MYSQL #################################################
  
  MYSQL_VERSION=5.7
  MYSQL_DATABASE=dafault
  MYSQL_USER=root
  MYSQL_PASSWORD=root
  MYSQL_PORT=3306
  MYSQL_ROOT_PASSWORD=root
  MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
  </code></pre>
  
  <p>And Here is my <strong>mysql setting in .env</strong> from project folder</p>
  
  <pre><code>DB_CONNECTION=mysql
  DB_HOST=mysql
  DB_PORT=3306
  DB_DATABASE=default
  DB_USERNAME=root
  DB_PASSWORD=root
  </code></pre>
  
  <p>And here is my <strong>docker-compose.yml</strong> setting</p>
  
  <pre><code>## MySQL ################################################
      mysql:
        build:
          context: ./mysql
          args:
            - MYSQL_VERSION=${MYSQL_VERSION}
        environment:
          - MYSQL_DATABASE=${MYSQL_DATABASE}
          - MYSQL_USER=${MYSQL_USER}
          - MYSQL_PASSWORD=${MYSQL_PASSWORD}
          - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
          - TZ=${WORKSPACE_TIMEZONE}
        volumes:
          - ${DATA_PATH_HOST}/mysql:/var/lib/mysql
          - ${MYSQL_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
        ports:
          - "${MYSQL_PORT}:3306"
        networks:
          - backend
  </code></pre>
  
  <p>If I change any name from default </p>
  
  <blockquote>
    <p>php artisan migrate</p>
  </blockquote>
  
  <p>doesn't work. Can you tell me what is the correct way to do this?</p>