标签:使用 rev sql grant nts ide mysql select alert
1、为在mysql创建test1账号,并赋予10.96.90.78,只读amp库中alert_info_tab表的权限
grant select on amp.alert_info_tab to test1@10.96.90.78 identified by "123456";
2、取消10.96.90.78,只读amp库中alert_info_tab表的权限
REVOKE SELECT ON amp.alert_info_tab FROM test1@10.96.90.78;
3、显示10.96.90.78 ,使用test1账号有什么权限
show grants for test1@10.96.90.78 ;
标签:使用 rev sql grant nts ide mysql select alert
原文地址:https://www.cnblogs.com/zhangzeyuan/p/13051554.html