首页 >数据库 >mysql教程 >在Mysql下查看给某个用户授予什么样的权限_MySQL

在Mysql下查看给某个用户授予什么样的权限_MySQL

WBOY
WBOY原创
2016-06-01 13:08:501247浏览

mysql> show grants for zabbix@192.168.0.8;
+-----------------------------------------------------------------------------+
| Grants for zabbix@192.168.0.8                                                                               |
+-----------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'zabbix'@'192.168.0.8' IDENTIFIED BY PASSWORD '*1DE214A97ED5B54724D456EACD32E217E671351B'                                                  |
| GRANT ALL PRIVILEGES ON `zabbix`.* TO'zabbix'@'192.168.0.8'                                                    |
+----------------------------------------------------------------------------+
2 rows in set (0.00 sec)

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn