Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace: #0 /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('mysql:host=loca...', 'root', 'CMS@paper2018', Array) #1 /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(44): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'root', 'CMS@paper2018', Array) #2 /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(363): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'root', 'CMS@paper2018', Array) #3 /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): Doctrine\DBAL\Connection->connect() #4 /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(388): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #5 /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection in /var/www/html/ppcms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 108