title: Doctrine error to create database : Access denied for user
body: <p>i tried to create a new database in Doctrine, with <code>php app/console doctrine:database:create</code> but i got an error : i fixed it thanks to this <a href="http://www.iamseree.com/application-development/doctrine-create-database-error-no-such-file-or-directory" rel="nofollow"> website</a></p>
  
  <p>now i've got a second error, but i can't find any solution :  </p>
  
  <p>afther this :     </p>
  
  <p><code>pc11:Symfony Paul$ php app/console doctrine:database:create</code></p>
  
  <p>i've got this error :</p>
  
  <blockquote>
    <p>Could not create database for connection named symfony
    SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)</p>
  </blockquote>
  
  <p>i tried without "symfony" but it did not work :<br>
  <code>pc11:~ Paul$ php app/console doctrine:database:create<br>
  Could not open input file: app/console
  </code></p>
  
  <p>Would you know how to fix this?</p>
  
  <p>Thanks</p>