当前位置:网站首页>13. User and authority management
13. User and authority management
2022-04-23 07:40:00 【Ah Dai cloth clothes cool】
13. User and rights management
One : Create users and grant permissions
grant select,update
on test.emp
to tom@localhost identified
by '123';
Two : View permissions
1. Check your own permissions
show grants;
2. View other people's permissions
show grants for user name @ Source address ;
3、 ... and : Revoke authority
1. Revoke authority
revoke delete
on shop.user
from mike@'%';
Four : Delete user
use mysql;
delete from user where user=' user name ';
flush privileges;
版权声明
本文为[Ah Dai cloth clothes cool]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230622239111.html
边栏推荐
猜你喜欢
随机推荐
学习笔记6-几种深度学习卷积神经网络的总结
Django使用mysql数据库报错解决
1D/1D动态规划学习总结
手游性能优化
如何判断点是否在多边形内(包含复杂多边形或者多边形数量很多的情况)
菜菜的并发编程笔记 |(九)异步IO实现并发爬虫加速
ogldev-读书笔记
Pycharm
数据库查询优化的方式
USO technology was invited to share the technical framework and challenges of AI synthetic virtual characters at lvson2020 conference
colab
小程序wx.previewMedia相关问题解决-日常踩坑
王者荣耀-unity学习之旅
自定义时间格式(YYYY-MM-DD HH:mm:ss 星期X)
14.事务处理
两个线程交互打印奇偶数字
HuggingFace
Mysql持久性的实现
[CF 1425D]Danger of Mad Snakes(组合计数+容斥)
获取字符格式的当前时间