diff --git a/core/lib/Drupal/Core/Cache/InstallBackend.php b/core/lib/Drupal/Core/Cache/InstallBackend.php index 87205ca..a0b7225 100644 --- a/core/lib/Drupal/Core/Cache/InstallBackend.php +++ b/core/lib/Drupal/Core/Cache/InstallBackend.php @@ -36,7 +36,7 @@ class InstallBackend extends DatabaseBackend { function __construct($bin = NULL) { if (class_exists('Drupal\Core\Database\Database') && drupal_container()->hasParameter('database.info')) { - $this->dbConnection = Database::getConnection(); + $this->dbConnection = Database::getConnection('default', NULL, drupal_container()->getParameter('database.info')); } if ($bin) { $this->bin($bin);