Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? in /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace: #0 /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('pgsql:host=loca...', '98clicks', '897iidfhe8sa', Array) #1 /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php(45): Doctrine\DBAL\Driver\PDOConnection->__construct('pgsql:host=loca...', '98clicks', '897iidfhe8sa', Array) #2 /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(372): Doctrine\DBAL\Driver\PDOPgSql\Driver->connect(Array, '98clicks', '897iidfhe8sa', Array) #3 /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(432): Doctrine\DBAL\Connection->connect() #4 /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctri in /var/www/html/98clicks/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php on line 89