I am new to Symfony and started doing some tutorials in order to get some things done. I am working on a Linux Mint 18 machine and a standard Symfony3-project.
I\'d
Had the same error.
OS: macOS High Sierra. MAMP 5.0.1
The problem was that the default MySQL port on MAMP was 8889 and in parameters.yml it was 3306