I have installed my Symfony project on another computer with the same specifications, and I receive the following error when I login with fosuserbundle:
Authe
I had the same problem. I was able to build and populate the database with php app/console doctrine:schema:update --force; php app/console doctrine:fixtures:load;
but the symfony app couldn't access the database.
The problem was I'd set database_host: 127.0.0.1
in parameters.yml
but mysql
was expecting me to connect through localhost
. Updating parameters.yml
fixed the problem. I'm still confused as to why the command line stuff worked...