title: laravel 5 Access denied for user 'root'@' localhost' (using password: YES)
body: <p>I am new to Laravel5. I tried to create migration table but I get this error</p>
  
  <p><a href="http://i.stack.imgur.com/cvEey.png" rel="nofollow">Error Log</a></p>
  
  <p>This is the database.php</p>
  
  <pre><code>'mysql' =&gt; [
              'driver' =&gt; 'mysql',
              'host' =&gt; env('DB_HOST', '127.0.0.1'),
              'port' =&gt; env('DB_PORT', '3306'),
              'database' =&gt; env('DB_DATABASE', 'larashop'),
              'username' =&gt; env('DB_USERNAME', 'root'),
              'password' =&gt; env('DB_PASSWORD', 'melody'),
              'charset' =&gt; 'utf8',
              'collation' =&gt; 'utf8_unicode_ci',
              'prefix' =&gt; '',
              'strict' =&gt; false,
              'engine' =&gt; null,
          ],
  </code></pre>
  
  <p>and this is .env</p>
  
  <pre><code>DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=larashop
  DB_USERNAME=root
  DB_PASSWORD=melody
  </code></pre>
  
  <p>Please help. </p>