第四章:数据控制语言DCL-权限管理(授予与回收)

直接学习:https://edu.csdn.net/course/play/27328/370704
权限管理(授予与回收)
#1、查看权限:
show grants for ‘liufeng’@’%’;
#2、授予权限:
grant select on mylb.* to ‘liufeng’@’%’;
#3、撤销权限
revoke select on mylb.* from ‘liufeng’@’%’;
#4、刷新权限:
flush privileges;

发布了107 篇原创文章 · 获赞 6 · 访问量 968

猜你喜欢

转载自blog.csdn.net/weixin_43597208/article/details/105471315