You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Boot/DrupalBoot.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,7 @@ public function bootstrapDrupalDatabaseValidate()
228
228
$this->logger->warning(dt('The command \'!command\' is required for preflight but cannot be found. Please install it and retry.', ['!command' => $command]));
229
229
returnfalse;
230
230
}
231
-
if (!$sql->query('SELECT 1;')) {
231
+
if (!$sql->query('SELECT 1;', null, drush_bit_bucket())) {
232
232
$message = dt("Drush was not able to start (bootstrap) the Drupal database.\n");
233
233
$message .= dt("Hint: This may occur when Drush is trying to:\n");
234
234
$message .= dt(" * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases` for details.\n");
@@ -279,7 +279,7 @@ public function bootstrapDrupalDatabaseHasTable($required_tables)
0 commit comments