diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php
index 00c943dd..6828ce28 100644
--- a/adminer/sql.inc.php
+++ b/adminer/sql.inc.php
@@ -183,7 +183,8 @@ if (!$error && $_POST) {
stop_session();
}
if (!$_POST["only_errors"]) {
- echo "
" . lang('Query executed OK, %d row(s) affected.', $affected) . "$time\n";
+ $title = isset($connection->info) ? "title='" . h($connection->info) . "'" : "";
+ echo "
" . lang('Query executed OK, %d row(s) affected.', $affected) . "$time\n";
}
}
echo ($warnings ? "
\n$warnings
\n" : "");