0

Today I updated one of my projects to the new symfony version 2.8 since the update the shell is trowing this exception when running the cache:clear command:

An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

Any clues how to solve this issue or is it a bug caused by the new symfony version?

Nickolaus
  • 4,785
  • 4
  • 38
  • 60
  • Has your parameters.yml file been overrun? Check if it has necessary parameters for database connection. – Đuro Mandinić Dec 01 '15 at 15:49
  • 1
    Which version of doctrine are you using? It should be at least 2.4.8. A plain symfony 2.8 install works fine. Maybe post the require section of composer.json or compare with the github version. – Cerad Dec 01 '15 at 15:49
  • outdated doctrine package seems to be the problem – Nickolaus Dec 02 '15 at 10:10

0 Answers0