doctrine: mapping: convert, error password

1

I am trying to do a mapping on the mac console, for Symfony3, and it is giving me access denied access error all the time, it tells me that no password is used, when really in my main root if it has a password.

I pass you screenshot

php bin/console doctrine:mapping:convert xml ./src/AppBundle/Resources/doctrine/metadata/orm --from-database --force --no-debug


  [Doctrine\DBAL\Exception\ConnectionException]                                
  An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for us  
  er 'root'@'localhost' (using password: NO)                                   

  [Doctrine\DBAL\Driver\PDOException]                                          
  SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas  
  sword: NO)                                                                   

  [PDOException]                                                               
  SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas  
  sword: NO)

Thanks for the help

    
asked by David 28.04.2016 в 23:56
source

0 answers