title: Doctrine: Could not create database for connection
body: <p>I'm currently working on a website using Symfony2 and doctrine2 for the database. I did everything from this tutorial:<a href="http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html" rel="nofollow noreferrer">http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html</a></p>
  
  <p>However, when I try to do this:</p>
  
  <pre><code>php app/console doctrine:database:create
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Could not create database for connection named `CHuts_DB`
  SQLSTATE[28000] [1045] Access denied for user 'rootDB'@'localhost' (using password: YES)
  </code></pre>
  
  <p>And this is my parameters.yml:</p>
  
  <pre><code>parameters:
      database_driver: pdo_mysql
      database_host: localhost
      database_port: '3396'
      database_name: CHuts_DB
      database_user: rootDB
      database_password: ***
      ...
      database_path: null
  </code></pre>
  
  <p>I don't understand why it's not working. I'm fairly new to Symfony2 and I've searched a bit on internet but I couldn't find someone with the same error message as me.</p>