Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace: #0 /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('mysql:host=loca...', 'root', 'root@itequNews2...', Array) #1 /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(44): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'root', 'root@itequNews2...', Array) #2 /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(363): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'root', 'root@itequNews2...', Array) #3 /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): Doctrine\DBAL\Connection->connect() #4 /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(388): Doctrine\DBAL\Connection->getDatabasePlatformV in /var/www/html/itequ/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 108