Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000] [2002] Connection refused in Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (line 79 of /var/www/html/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php).

Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (Line: 176)
Drupal\Component\DependencyInjection\Container->get() (Line: 212)
Drupal\Component\DependencyInjection\PhpArrayContainer->resolveServicesAndParameters() (Line: 62)
Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (Line: 176)
Drupal\Component\DependencyInjection\Container->get() (Line: 550)
Drupal\Core\DrupalKernel->getCachedContainerDefinition() (Line: 903)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 473)
Drupal\Core\DrupalKernel->boot() (Line: 716)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Additional

Error: Class "Drupal\Component\Render\FormattableMarkup" not found in _drupal_log_error() (line 255 of /var/www/html/core/includes/errors.inc).

_drupal_log_error() (Line: 71)
_drupal_error_handler_real() (Line: 312)
_drupal_error_handler() (Line: 61)
include('/var/www/html/core/lib/Drupal/Component/Render/FormattableMarkup.php') (Line: 571)
Composer\Autoload\includeFile() (Line: 428)
Composer\Autoload\ClassLoader->loadClass() (Line: 255)
_drupal_log_error() (Line: 330)
_drupal_exception_handler()