ORA-0131:debugging requires the debug connect session system privilege
今天在進行procedure執行的時候,用的是PL/SQL工具中的test,除錯方法進行執行,因為有輸入引數,但是報了個錯:
“note:debugging requires the debug connect session system privilege”.
原因是使用者許可權不夠,使用以下命令授予許可權:
GRANT debug any procedure, debug connect session TO username
其實只需要授予debug connect session 就可以了,已經過測試。
另外,如果查詢某個角色包含哪些系統許可權的話,可以查詢:
(1)、系統許可權:
select * from role_sys_privs;
ROLE_SYS_PRIVSROLE_SYS_PRIVS:describes system privileges granted to roles. Information is provided only about roles to which the user has access
(2)、物件許可權:
select * from role_tab_privs;
ROLE_TAB_PRIVSROLE_TAB_PRIVS:describes table privileges granted to roles. Information is provided only about roles to which the user has access.
(3)、角色裡都包含哪些角色:
select * from role_role_privs
ROLE_ROLE_PRIVSROLE_ROLE_PRIVS:describes the roles granted to other roles. Information is provided only about roles to which the user has access.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-675187/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-0131:Insufficient privileges.(DEBUG CONNECT SESSION)Session
- grant debug connect session to db_test;Session
- Linux/Unix System Level Attack、Privilege Escalation(undone)Linux
- session,connect,processSession
- mysql can't connect error about privilege----not root userMySqlError
- alter system kill sessionSession
- alter session|system set eventsSession
- ALTER SYSTEM DISCONNECT SESSION ClauseSession
- DEBUG : Eclipse Debug 時出現 Cannot connect to VM select failed錯誤EclipseAI
- alter system kill session 不成功Session
- Alter system kill session and ORA-00031: session marked for killSession
- v session_wait v session_event v system_eventSessionAI
- v$session_event , v$system_event , v$session_waitSessionAI
- Oracle中的Connect、session、process的區別OracleSession
- ORA-01045: user HR lacks CREATE SESSION privilege; logon deniedSessionGo
- dbms_system.set_sql_trace_in_session 無效SQLSession
- ALTER SYSTEM KILL SESSION這麼沒力?(轉)Session
- node的Connect使用session、cookie的使用方法SessionCookie
- alter system disconnect/kill session 'sid,serial#';Session
- ora-00054 , alter system kill session 'id,serial#'Session
- ubuntu gedit出錯:Failed to connect to the session manager的問題UbuntuAISession
- alter database和alter system和alter session的區別DatabaseSession
- "alter system kill session" can crash the instance if IO slaves usedSession
- Oracle SQL 跟蹤 --- dbms_system.set_sql_trace_in_sessionOracleSQLSession
- 幾個重要檢視(V$SYSTEM_EVENT V$SESSION_EVENT V$SESSION_WAIT)SessionAI
- Debugging collections(譯)
- WebKit Remote DebuggingWebKitREM
- 2.2.4.1 Principles of Privilege and Role Grants in a CDB
- 2.2.4 Overview of Privilege and Role Grants in a CDBView
- innobackupex: Error: --decompress requires qpressErrorUI
- alter system enable restricted session 及 startup restrict 限制使用者登入RESTSession
- 檢視鎖的資訊和alter system kill session的用法(小例子)Session
- Debugging Ruby in VS Code
- Debugging QML ApplicationsAPP
- Oracle OCP(31):USER & ROLE & PRIVILEGE 其它Oracle
- Oracle privilege學習與測試Oracle
- Anti-debugging Skills in APKAPK
- 【C++】requires關鍵字簡介C++UI