ORA-0131:权限不足DEBUG CONNECT SESSION

twy*_*yly 6 oracle debugging plsql

我收到此错误消息"ORA-0131:权限不足DEBUG CONNECT SESSION"尝试使用PL/SQL Developer启动调试PL/SQL脚本.

Oracle Database 11g 11.1.0.7.0版

我是管理员组的一员.这种特权是否必要?

grant DEBUG CONNECT SESSION to =<bobens_83-here_goes_your_db-username>
Run Code Online (Sandbox Code Playgroud)

Mou*_*diz 11

正如你所提到的,它的特权问题.

引自本网站

ORA-01031: insufficient privileges 

 Cause: An attempt was made to change the current username or password
 without the appropriate privilege. This error also occurs if attempting to
 install a database without the necessary operating system privileges. 
 When Trusted Oracle is configure in DBMS MAC, this error may occur if
 the user was granted the necessary privilege at a higher label than the  
 current login. 

Action: Ask the database administrator to perform the operation or grant
the required privileges. For Trusted Oracle users getting this error 
although granted the appropriate privilege at a higher label, ask the 
database administrator to re-grant the privilege at the appropriate label. 
Run Code Online (Sandbox Code Playgroud)

如果您正在进行调试,它应该工作

grant DEBUG CONNECT SESSION to <bobens_83-here_goes_your_db-username>
Run Code Online (Sandbox Code Playgroud)