Disable logon trigger in Oracle

前端 未结 2 610
余生分开走
余生分开走 2021-01-27 17:30

I have such problem as described in cannot login to sql server due logon trigger

But I use Oracle. Is there same thing like \"Dedicated Admin Connection\"? Or are there

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-27 17:52

    Up to Oracle ver. 10g (including) the logon trigger was not fired for users having DBA role. Since ver. 11g it's fired also for DBA sessions, but its failure does not kill the session.

    For all the other users any error thrown from the logon trigger kills the session.

    So if you want to administer the logon trigger, you should connect as sysdba (sqlplus / as sysdba)

    PS: also note, that aside from LOGON TRIGGER ON DATABASE there is also a LOGON TRIGGER ON SCHEMA which is less dangerous.

提交回复
热议问题