title: laravel4 migration failed (pdo exception)
body: <p>I just used artisan migrate to create some table, but I get an error of Type PDO:</p>
  
  <pre><code> [PDOException]                                                                         
    SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) 
  </code></pre>
  
  <p>A php/mysql testscript could connect to the database just fine, but it was another virtualhost and it did not use PDO.</p>
  
  <p>In Laravel4 edited  <strong>app/config/local/database.php</strong> to set the password and database name.</p>
  
  <p>edit in start.php</p>
  
  <p>UPDATE</p>
  
  <p>I hardcoded the password in the PDO connection array and now terminal says there is no database named "database". Clearly it is looking somewhere else for the config, but I have no other config file.</p>
  
  <p><em>(Due to following a tutorial about making a "local" directory it was not working for me)As it stands, I have downloaded the stable version and everything is working great.
  I am going to delete this post, to keep the forum clean.</em> </p>