Oracle 执行存储过程时报错 ORA-0131

问题: 一开发同事反应他的测试用户无法执行存储过程,使用 plsql 远程连接执行存储过程报错如下:

ORA-1031:Insufficient privileges.
Note:Debugging requires the DEBUG CONNECT SESSION system privilege.

处理方法:
从报错信息是可知用户没有存储过程的调试执行权限

使用DBA权限的用户登录授权即可:

$ sqlplus / as sysdba

SQL> grant DEBUG CONNECT SESSION to test; 
Grant succeeded 

授权完成后,用户 test 就可以正常执行存储过程了。

猜你喜欢

转载自blog.csdn.net/Ruishine/article/details/115254297