Appearance
使用root账号登录将拥有所有权限
权限分级
权限等级分为三个层级:
- 全局特权级
- database 级
- table 级
权限选项:
create:
- 在全局特权级中选中
create代表可以创建 database 和在所有 database 下创建 table 等数据结构; - 在 database 级中选中
create代表可以在该 database 下创建 table 等数据结构;
insert:
- 在全局特权级中选中
insert代表可以对所有 database tables 执行插入数据操作; - 在 database 级中选中
insert代表可以对该 database 的 tables 执行插入数据操作; - 在 table 级中选中
insert代表仅可对该 table 执行插入数据操作;
update
- 在全局特权级中选中
update代表可以对所有 database tables 执行更新数据操作; - 在 database 级中选中
update代表可以对该 database 的 tables 执行更新数据操作; - 在 table 级中选中
update代表仅可对该 table 执行更新数据操作;
select
- 在全局特权级中选中
select代表可以对所有 database tables 执行数据查询操作和查看表结构操作; - 在 database 级中选中
select代表可以对该 database 的 tables 执行数据查询操作和查看表结构操作; - 在 table 级中选中
select代表仅可对该 table 执行数据查询操作和查看表结构操作;
delete
- 在全局特权级中选中
delete代表可以对所有 database tables 执行删除数据操作; - 在 database 级中选中
delete代表可以对该 database 的 tables 执行删除数据操作; - 在 table 级中选中
delete代表仅可对该 table 执行删除数据操作;
alter
- 在全局特权级中选中
alter代表可以对所有 database tables 执行修改表结构操作; - 在 database 级中选中
alter代表可以对该 database 的 tables 执行修改表结构操作; - 在 table 级中选中
alter代表仅可对该 table 执行修改表结构操作;
drop
- 在全局特权级中选中
drop代表可以对所有 database tables 执行删除表结构操作; - 在 database 级中选中
drop代表可以对该 database 的 tables 执行删除表结构操作; - 在 table 级中选中
drop代表仅可对该 table 执行删除表结构操作;
show
在全局特权级中选中
show代表可以在 LCM 中获取所有 database tables 的表结构;在 database 级选中
show代表可以在该 database 下获取所有 tables 的表结构;可以通过 api 的 execSql 接口执行
SQL 语句 需求权限 show create table全局/database 级 showshow tables全局/database 级 showshow databases全局 show权限show connections全局 show权限show status where connid = <connid>;全局 show权限show locker;全局 show权限show columns from <table_name> [from <db_name>]全局 show权限
kill
- 在全局特权级中选中
kill代表可以执行以下 SQL 语句: kill connection <id>;kill query <id>;kill process <id>;
系统权限
系统总览
- 仅全局特权级出现,登录用户可见系统总览页面;
服务器监控
- 仅全局特权级出现,登录用户可见服务器监控页面;
SQL控制台
- 仅全局特权级出现,登录用户可见 SQL 控制台页面;
结构管理
- 仅全局特权级出现,登录用户可见结构管理页面;
用户管理
- 仅全局特权级出现,登录用户可见用户管理页面;
角色管理
- 仅全局特权级出现,登录用户可见角色管理页面;
帮助中心