( ! ) Warning: PDO::__construct() [<a href='pdo.--construct'>pdo.--construct</a>]: [2002] Connection refused (trying to connect via tcp://127.0.0.1:3306) in /var/www/symfony.debri-dv.com/Symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 43
Call Stack
#TimeMemoryFunctionLocation
10.0000630080{main}( )../app.php:0
20.0009966616Symfony\Component\HttpKernel\Kernel->handle( )../app.php:27
30.00442455440Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( )../bootstrap.php.cache:2429
40.00442456160Symfony\Component\HttpKernel\HttpKernel->handle( )../bootstrap.php.cache:3207
50.00442456680Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../bootstrap.php.cache:3056
60.08403878328call_user_func_array:{/var/www/symfony.debri-dv.com/Symfony/app/bootstrap.php.cache:3094} ( )../bootstrap.php.cache:3094
70.08403878752DebriDv\MainBundle\Controller\PageController->showAction( )../bootstrap.php.cache:3094
80.08574225912EntityManager5efd6b9b2aa0c_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager->find( )../PageController.php:25
90.08574226008Doctrine\ORM\EntityManager->find( )../EntityManager_5efd6b9b2aa0c.php:325
100.08574226112Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor( )../EntityManager.php:360
110.08584226904Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata( )../AbstractClassMetadataFactory.php:216
120.08584226904Doctrine\ORM\Mapping\ClassMetadataFactory->initialize( )../AbstractClassMetadataFactory.php:306
130.08584226904Doctrine\DBAL\Connection->getDatabasePlatform( )../ClassMetadataFactory.php:81
140.08584226904Doctrine\DBAL\Connection->detectDatabasePlatform( )../Connection.php:328
150.08584226904Doctrine\DBAL\Connection->getDatabasePlatformVersion( )../Connection.php:389
160.08584226904Doctrine\DBAL\Connection->connect( )../Connection.php:429
170.08584227376Doctrine\DBAL\Driver\PDOMySql\Driver->connect( )../Connection.php:360
180.08594248528Doctrine\DBAL\Driver\PDOConnection->__construct( )../Driver.php:45
190.08594248576__construct ( )../PDOConnection.php:43
An Error Occurred: Internal Server Error

Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.