Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 Stack trace: #0 /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=sloo...', 'slooplydb', 's100p1y&*_-DBpr...', Array) #1 /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=sloo...', 'slooplydb', 's100p1y&*_-DBpr...', Array) #2 /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'slooplydb', 's100p1y&*_-DBpr...', Array) #3 /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(422): Doctrine\DBAL\Connection->connect() #4 /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(382): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #5 /var/www/symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/C in /var/www/symfony/app/Resources/views/frontend/base.html.twig on line 43