查看MYSQL數據庫中所有用戶
mysql> SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user;
查看數據庫中具體某個用戶的權限
mysql> show grants for 'cactiuser'@'%';
mysql> show grants for 'cactiuser'@'%';
