title: Laravel can't connect to DB
body: <p>I'm following through the <a href="http://laravel.com/docs/quick#displaying-data" rel="nofollow">Quick Start Guide</a>, and got to the section actually connecting to the DB to fetch the users table, and am getting the following error:</p>
  
  <blockquote>
    <p>SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)</p>
  </blockquote>
  
  <p>My <code>database.php</code> includes the following setup (default set to mysql):</p>
  
  <pre><code>'mysql' =&gt; array(
      'driver'    =&gt; 'mysql',
      'host'      =&gt; 'localhost',
      'database'  =&gt; 'bt',
      'username'  =&gt; 'root',
      'password'  =&gt; '',
      'charset'   =&gt; 'utf8',
      'collation' =&gt; 'utf8_unicode_ci',
      'prefix'    =&gt; '',
  ),
  </code></pre>
  
  <p>When I go to the terminal window, however, I'm able to log in using <code>mysql -h localhost -u root -p</code> then just hit enter to go in without a password, which I thought would be equivalent (the 'bt' table shows up when I run <code>show databases();</code>). What am I missing here?</p>