I am new to Symfony2 (beta4) and Doctrine and am having issues when i try to create the DB schema via command line.
Here\'s the error:
$ php app/cons
Too late but I hope it can help someone.
Just today I fall into a similar situation (but in other context, I was trying to create entities from db).
I solved it simply modifying de database_host from "localhost" to "127.0.0.1" in the parameters.ini file.
I think my Mysql instance is running only via TCP and not socket and because this when use database_host="localhost" it fails.