Home > Database > Mysql Tutorial > body text

权限

WBOY
Release: 2016-06-07 16:05:00
Original
1286 people have browsed it

user privilege: select * from session_privs 查看对应表空间 select * from dba_users; -- 确定角色的权限 select * from role_tab_privs ; 包含了授予角色的对象权限 select * from role_role_privs ; 包含了授予另一角色的角色 select * from role_sys_p

user privilege:
select * from session_privs

查看对应表空间
select * from dba_users;
-- 确定角色的权限
select * from role_tab_privs ; 包含了授予角色的对象权限
select * from role_role_privs ; 包含了授予另一角色的角色
select * from role_sys_privs ; 包含了授予角色的系统权限

-- 确定用户帐户所授予的权限
select * from DBA_tab_privs ; 直接授予用户帐户的对象权限
select * from DBA_role_privs ; 授予用户帐户的角色
select * from DBA_sys_privs ; 授予用户帐户的系统权限

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template