Search code examples
phpsymfonysylius

DB Connection failed Sylius


I'm running MacOS Sierra and I'm trying to install locally Sylius. Although I (finally) managed to get it installed, I'm still facing connection error with the DB.

Here is the error I'm getting:

Error

Do you have any idea of where might this come from?

Thanks!

Andrea


Solution

  • Ensure that the MySQL server is running. If using MAMP, check MAMP and ensure that MySQL is started. If not using MAMP, try this:

    $ mysql.server start

    See if you can connect through the console now. If so, you should be able to connect through Sylius.