扯扯MySQL 5.6.19 Administrative Roles and Global Privileges

Role:

1.DBA

2.MaintenanceAdmin

3.ProcessAdmin

4.UserAdmin

5.SecurityAdmin

6.MonitorAdmin

7.DBManager

8.ReplicationAdmin

9.BackupAdmin

10.Custom,这个其实不算系统role吧,自定义的,可以组合Global Privileges

Global Privileges:

1.Alter

2.Alter Routine

3.Create

4.Create Routine

5.Create Tablespace

6.Create Temporary Tables

7.Create User

8.Create View

9.Delete

10.Drop

11.Event

12.Execute

13.File

14.Grant Option

15.Index

16.Insert

17.Lock Tables

18.Process

19.References

20.Reload

21.Replication Client

22.Replication Slave

23.Select

24.Show Databases

25.Show View

26.Shutdown

27.Super

28.Trigger

29.Update

真是多吧,还有Role默认对应的Global Privileges

其实没必要记(自己感觉没必要记),关于Global Privileges还知道个Super,因为这几天一直搞这个;其他的Role,今天第一次知道MySQL里还有Role。

你安装了MySQL和Workbench后,可以在Workbench的Users and Privileges看到,Role和Global Privileges默认对应关系,下面直接上两张图

image

image

还有Roles之间的包含关系等等,我就刚刚截图时选中DBA Role才发现的 。

Roles and Global Privileges全在这了(我猜的),之所以前文列出来,就是为了装X。

转载于:https://www.cnblogs.com/cnmarkao/p/3878508.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值