title: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) symfony2
body: <p>When I try to login I get an error:</p>
  
  <p><strong>SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)</strong></p>
  
  <p>parametrs.yml:</p>
  
  <p>This file is auto-generated during the composer install</p>
  
  <pre><code>parameters:
      database_driver: pdo_mysql
      database_host: localhost
      database_port: null
      database_name: sgce
      database_user: root
      database_password: mikem
      mailer_transport: smtp
      mailer_host: 127.0.0.1
      mailer_user: null
      mailer_password: null
      locale: en
      secret: ThisTokenIsNotSoSecretChangeIt
  </code></pre>
  
  <p>My OS is Debian</p>
  
  <p>Thanks for your help.</p>
  
  <pre><code>[mysqld_safe]
  socket      = /var/run/mysqld/mysqld.sock
  nice        = 0
  
  [mysqld]
  #
  # * Basic Settings
  #
  #skip-grant-tables
  user        = mysql
  pid-file    = /var/run/mysqld/mysqld.pid
  socket      = /var/run/mysqld/mysqld.sock
  port        = 3306
  basedir     = /usr
  datadir     = /var/lib/mysql
  tmpdir      = /tmp
  lc-messages-dir = /usr/share/mysql
  skip-external-locking
  #
  # Instead of skip-networking the default is now to listen only on
  # localhost which is more compatible and is not less secure.
  #bind-address       = 127.0.0.1
  bind-address        = 10.1.4.3
  </code></pre>