diff --git a/src/DataCollector/QueryCollector.php b/src/DataCollector/QueryCollector.php index fbeaf81b5..41b04678f 100644 --- a/src/DataCollector/QueryCollector.php +++ b/src/DataCollector/QueryCollector.php @@ -189,7 +189,7 @@ public function addQuery($query, $bindings, $time, $connection) 'time' => $time, 'source' => $source, 'explain' => $explainResults, - 'connection' => $connection->getDatabaseName(), + 'connection' => '[' . $connection->getName() . '] ' . $connection->getDatabaseName(), 'driver' => $connection->getConfig('driver'), 'hints' => $this->showHints ? $hints : null, 'show_copy' => $this->showCopyButton,