当前位置:网站首页>13.用户和权限管理
13.用户和权限管理
2022-04-23 06:23:00 【阿呆布衣酷】
13.用户和权限管理
一:创建用户并授予权限
grant select,update
on test.emp
to tom@localhost identified
by '123';
二:查看权限
1.查看自己的权限
show grants;
2.查看其他人的权限
show grants for 用户名@来源地址;
三:撤销权限
1.撤销权限
revoke delete
on shop.user
from mike@'%';
四:删除用户
use mysql;
delete from user where user='用户名';
flush privileges;
版权声明
本文为[阿呆布衣酷]所创,转载请带上原文链接,感谢
https://adbycool.blog.csdn.net/article/details/124352407
边栏推荐
猜你喜欢

可视化常见绘图(一)堆叠图

Take you to travel in space, and American photography technology provides comprehensive technical support for aerospace creative applet

可视化常见绘图(五)散点图

记录一下使用v-print中遇到的问题

H5 case development

可视化常见问题解决方案(八)数学公式

Tensorflow安装后ImportError: DLL load failed: 找不到指定的模块,且国内安装缓慢

保洁阿姨都能看懂的中国剩余定理和扩展中国剩余定理

菜菜的刷题日记 | 蓝桥杯 — 十六进制转八进制(纯手撕版)附进制转换笔记

manjaro安装与配置(vscode,微信,美化,输入法)
随机推荐
可视化常见问题解决方案(七)画图刻度设置解决方案
[COCI] Vještica (子集dp)
[牛客挑战赛47]C.条件 (bitset加速floyd)
Solution of emergency communication system for major security incidents
How to improve the service efficiency of the hotel without blind spots and long endurance | public and Private Integrated walkie talkie?
P1446 [HNOI2008]Cards(Burnside定理+dp计数)
可视化之路(十二)Collection类详解
图论入门——建图
Solution of self Networking Wireless Communication intercom system in Beifeng oil and gas field
UDP基础学习
如何将进程绑定到指定的CPU上
vim+ctags+cscpope开发环境搭建指南
菜菜的刷题日记 | 蓝桥杯 — 十六进制转八进制(纯手撕版)附进制转换笔记
免费开源充电桩物联网云平台
How does the public and Private Integrated walkie talkie realize cooperative work under multi-mode communication?
特殊成员与魔法方法
golang实现一个带Web界面的五险一金计算器
可视化常见问题解决方案(八)数学公式
DMR system solution of Kaiyuan MINGTING hotel of Fengqiao University
F-牛妹的苹果树(直径合并)