欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

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

程序员文章站 2022-04-13 21:07:30
...
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)