在oracle中,在调试期间执行存储过程错误 [英] in oracle execute stored procedure error during debug
本文介绍了在oracle中,在调试期间执行存储过程错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
连接到数据库PRITele。
执行PL / SQL:ALTER SESSION SET PLSQL_DEBUG = TRUE
执行PL / SQL:CALL DBMS_DEBUG_JDWP.CONNECT_TCP('127.0.0.1 ',''1628')
ORA-01031:特权不足
ORA-06512:在SYS.DBMS_DEBUG_JDWP,第68行
ORA -06512:第1行
此会话需要DEBUG CONNECT SESSION和DEBUG ANY PROCEDURE用户权限。
流程退出。
断开与数据库的连接PRITele。
Connecting to the database PRITele.
Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '1628' )
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
Process exited.
Disconnecting from the database PRITele.
推荐答案
alter user PRITele identified by 1234 account unlock;
grant debug connect session to PRITele;
grant debug any procedure to PRITele
这篇关于在oracle中,在调试期间执行存储过程错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文