Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/publishwall_new/applications/application/libraries/Doctrine/DBAL/Driver/PDOConnection.php:36
Stack trace:
#0 /var/www/publishwall_new/applications/application/libraries/Doctrine/DBAL/Driver/PDOConnection.php(36): PDO->__construct()
#1 /var/www/publishwall_new/applications/application/libraries/Doctrine/DBAL/Driver/PDOMySql/Driver.php(43): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /var/www/publishwall_new/applications/application/libraries/Doctrine/DBAL/Connection.php(350): Doctrine\DBAL\Driver\PDOMySql\Driver->connect()
#3 /var/www/publishwall_new/applications/application/libraries/Doctrine/DBAL/Connection.php(627): Doctrine\DBAL\Connection->connect()
#4 /var/www/publishwall_new/applications/application/libraries/Doctrine/ORM/Persisters/BasicEntityPersister.php(669): Doctrine\DBAL\Connection->executeQuery()
#5 /var/www/publishwall_new/applications/application/libraries/Doctrine/ORM/EntityRepository.php(170): Doctrine\ORM\P in /var/www/publishwall_new/applications/application/libraries/Doctrine/DBAL/Driver/PDOConnection.php on line 36