时间:2021-07-01 10:21:17 帮助过:21人阅读
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 ;
mysql赋权限
标签:使用 rev sql grant nts ide mysql select alert