title: Laravel 5 database issue
body: <p>I've installed laravel 5 successfully by using this command:</p>
  
  <pre><code>composer create-project laravel/laravel test-laravel-5-project dev-develop --prefer-dist
  </code></pre>
  
  <p>I even verified the version of installed laravel by using <code>php artisan -V</code> command. The output was</p>
  
  <pre><code>Laravel Framework version 5.0-dev
  </code></pre>
  
  <p>Then I went to app/config/database.php, gave dafault db as mysql and gave configurations as</p>
  
  <pre><code>'mysql' =&gt; [ 'driver' =&gt; 'mysql', 'host' =&gt; env('DB_HOST', 'localhost'), 'database' =&gt; env('DB_DATABASE', 'Logintestfive'), 'username'=&gt; env('DB_USERNAME', 'root'), 'password'=&gt; env('DB_PASSWORD', 'manasa'), 'charset'=&gt; 'utf-8', 'collation'=&gt; 'utf-8_unicode_ci', prefix=&gt; '', 'strict'=&gt; false, ]
  </code></pre>
  
  <p>Then I went to <code>localhost:8000/auth/register</code> and filled up the form and submitted the data and this is the error which I got:</p>
  
  <pre><code>PDOException in Connector.php line 47: SQLSTATE[28000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)
  </code></pre>
  
  <p>But I've neither used <code>laravel homestead</code> for installng laravel 5 in my system nor used <code>vagrant</code> to set up laravel homestead. And it tells me like this:</p>
  
  <pre><code>in Connector.php line 47
  at PDO-&gt;__construct('mysql:host=localhost;dbname=homestead', 'homestead', 'secret', array('0', '2', '0', false, '0')) in Connector.php line 47
  at Connector-&gt;createConnection('mysql:host=localhost;dbname=homestead', array('driver' =&gt; 'mysql', 'host' =&gt; 'localhost', 'database' =&gt; 'homestead', 'username' =&gt; 'homestead', 'password' =&gt; 'secret', 'charset' =&gt; 'utf8', 'collation' =&gt; 'utf8_unicode_ci', 'prefix' =&gt; '', 'strict' =&gt; false, 'name' =&gt; 'mysql'), array('0', '2', '0', false, '0')) in MySqlConnector.php line 20
  at MySqlConnector-&gt;connect(array('driver' =&gt; 'mysql', 'host' =&gt; 'localhost', 'database' =&gt; 'homestead', 'username' =&gt; 'homestead', 'password' =&gt; 'secret', 'charset' =&gt; 'utf8', 'collation' =&gt; 'utf8_unicode_ci', 'prefix' =&gt; '', 'strict' =&gt; false, 'name' =&gt; 'mysql')) in compiled.php line 10545
  at ConnectionFactory-&gt;createSingleConnection(array('driver' =&gt; 'mysql', 'host' =&gt; 'localhost', 'database' =&gt; 'homestead', 'username' =&gt; 'homestead', 'password' =&gt; 'secret', 'charset' =&gt; 'utf8', 'collation' =&gt; 'utf8_unicode_ci', 'prefix' =&gt; '', 'strict' =&gt; false, 'name' =&gt; 'mysql')) in compiled.php line 10541
  at ConnectionFactory-&gt;make(array('driver' =&gt; 'mysql', 'host' =&gt; 'localhost', 'database' =&gt; 'homestead', 'username' =&gt; 'homestead', 'password' =&gt; 'secret', 'charset' =&gt; 'utf8', 'collation' =&gt; 'utf8_unicode_ci', 'prefix' =&gt; '', 'strict' =&gt; false), 'mysql') in compiled.php line 10459
  </code></pre>
  
  <p>How can I fix those issues?</p>