Symfony2 CLI does not connect to MySQL while browser works fine.