Symfony 2 SQLSTATE[HY000] [2002] Connection refused Error

前端 未结 12 2382
耶瑟儿~
耶瑟儿~ 2020-12-15 07:31

I get an error like database operations using Symfony2.

SQLSTATE[HY000] [2002] Connection refused

parameters.yml

parameters         


        
12条回答
  •  情话喂你
    2020-12-15 07:51

    This is a bit stupid but I arrived on this post googling the same error, so maybe this can help someone.

    In case you have this Connection refused Error double check that your database is up and running, in my case I simply forgot to power on MAMP...

提交回复
热议问题