diff --git a/adminer/privileges.inc.php b/adminer/privileges.inc.php index a492e8f6..a3b77958 100644 --- a/adminer/privileges.inc.php +++ b/adminer/privileges.inc.php @@ -4,14 +4,14 @@ page_header(lang('Privileges')); $result = $dbh->query("SELECT User, Host FROM mysql.user ORDER BY Host, User"); if (!$result) { ?> -

- - "> - : - : - - -

+

+ +"> +: +: + + +

query("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', 1) AS User, SUBSTRING_INDEX(CURRENT_USER, '@', -1) AS Host");