Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection timed out in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 Stack trace: #0 /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=db;p...', 'sim', 'RwF2qYdfHNuzV3q...', Array) #1 /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=db;p...', 'sim', 'RwF2qYdfHNuzV3q...', Array) #2 /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'sim', 'RwF2qYdfHNuzV3q...', Array) #3 /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1438): Doctrine\DBAL\Connection->connect() #4 /var/www/html/var/cache/prod/ContainerXdux1uo/appProdProjectContainer.php(1096): Doctrine\DBAL\Connection->getWrappedConnection() #5 /var/www/html/var/cache/prod/ContainerXdux1uo/appProdProjectContainer.php(1585): Containe in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 93