Fatal error: Uncaught exception 'PDOException' with message '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/movie/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace: #0 /var/www/html/movie/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('pgsql:host=loca...', 'ipb_user', 'mysqlpass', Array) #1 /var/www/html/movie/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php(46): Doctrine\DBAL\Driver\PDOConnection->__construct('pgsql:host=loca...', 'ipb_user', 'mysqlpass', Array) #2 /var/www/html/movie/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(362): Doctrine\DBAL\Driver\PDOPgSql\Driver->connect(Array, 'ipb_user', 'mysqlpass', Array) #3 /var/www/html/movie/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(427): Doctrine\DBAL\Connection->connect() #4 /var/www/html/movie/vendor/doctrine/dbal/lib/Doctrin in /var/www/html/movie/vendor/zendframework/zend-servicemanager/src/ServiceManager.php on line 946