mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
TODO
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@322 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -3,6 +3,7 @@ page_header(lang('Privileges'));
|
||||
echo '<p><a href="' . htmlspecialchars($SELF) . 'user=">' . lang('Create user') . "</a></p>\n";
|
||||
$result = $mysql->query("SELECT User, Host FROM mysql.user ORDER BY Host, User");
|
||||
if (!$result) {
|
||||
//! Grant and revoke privileges to any users
|
||||
$result = $mysql->query("SELECT SUBSTRING_INDEX(CURRENT_USER, '@', 1) AS User, SUBSTRING_INDEX(CURRENT_USER, '@', -1) AS Host");
|
||||
}
|
||||
echo "<table border='1' cellspacing='0' cellpadding='2'>\n";
|
||||
|
Reference in New Issue
Block a user