Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/files/src/PttBundle/Util/PDOHandler.php:19 Stack trace: #0 /var/www/html/files/src/PttBundle/Util/PDOHandler.php(19): PDO->__construct('mysql:host=loca...', 'fragment', 'hercules?', Array) #1 /var/www/html/files/app/cache/prod/appProdProjectContainer.php(1590): PttBundle\Util\PDOHandler->__construct(Object(appProdProjectContainer)) #2 /var/www/html/files/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(314): appProdProjectContainer->getPdohandlerService() #3 /var/www/html/files/app/cache/prod/appProdProjectContainer.php(655): Symfony\Component\DependencyInjection\Container->get('pdohandler') #4 /var/www/html/files/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(314): appProdProjectContainer->getFilestwigextensionService() #5 /var/www/html/files/app/cache/prod/appProdProjectContainer.php(2873): Symfony\Component\DependencyInjection\Container->get('filestwigextens in /var/www/html/files/src/PttBundle/Util/PDOHandler.php on line 19