标签:数据库权限 有用 where use query 操作 nts bsp span
查看MYSQL数据库中所有用户:
mysql> SELECT DISTINCT CONCAT(‘User: ‘‘‘,user,‘‘‘@‘‘‘,host,‘‘‘;‘) AS query FROM mysql.user;
查看用户拥有数据库权限:
mysql> SHOW GRANTS FOR ‘cadae_test‘@‘%‘;
mysql> select * from mysql.user where user=‘cactiuser‘ \G
标签:数据库权限 有用 where use query 操作 nts bsp span
原文地址:https://www.cnblogs.com/lv-books/p/14208027.html