【YashanDB知识库】YAS-02287 audit policy cannot be dropped as it is currently enabled

简介: 【YashanDB知识库】YAS-02287 audit policy cannot be dropped as it is currently enabled

本文内容来自YashanDB官网,原文内容请见 https://www.yashandb.com/newsinfo/7849015.html?templateId=1718516

【标题】错误码处理

【问题分类】删除审计策略

【关键字】YAS-02287

【问题描述】执行 DROP AUDIT POLICY <审计策略名>; 时报错:YAS-02287 audit policy cannot be dropped as it is currently enabled

【问题原因分析】该审计策略正在被使用,所以无法删除

【解决/规避方法】使用 NOAUDIT POLICY <审计策略名>; 命令关闭审计策略,然后重试删除。

【影响范围】-

【修复版本】-

相关文章
|
1月前
|
SQL
【YashanDB知识库】YAS-04115 "SELECT" expected but missing
【YashanDB知识库】YAS-04115 "SELECT" expected but missing
【YashanDB知识库】YAS-02287 audit policy cannot be dropped as it is currently enabled
【YashanDB知识库】YAS-02287 audit policy cannot be dropped as it is currently enabled
|
1月前
|
SQL
【YashanDB 知识库】YAS-04115 "SELECT" expected but missing
【YashanDB 知识库】YAS-04115 "SELECT" expected but missing
|
1月前
|
SQL
【YashanDB知识库】审计表UNIFIED_AUDIT_TRAIL出现YAS-00220
【YashanDB知识库】审计表UNIFIED_AUDIT_TRAIL出现YAS-00220
|
1月前
|
数据库
【YashanDB知识库】YAS-02507 base incremental backup set does not exist
【YashanDB知识库】YAS-02507 base incremental backup set does not exist
【YashanDB 知识库】YAS-02287 audit policy cannot be dropped as it is currently enabled -
【YashanDB 知识库】YAS-02287 audit policy cannot be dropped as it is currently enabled
|
1月前
|
数据库
【YashanDB知识库】YAS-00004 feature "create user" has not been implemented yet
【YashanDB知识库】YAS-00004 feature "create user" has not been implemented yet
|
1月前
|
数据库
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
|
1月前
|
数据库
【YashanDB数据库】YAS-02079 archive log mode must be enabled when database is in replication mode
YAS-02079 archive log mode must be enabled when database is in replication mode
|
1月前
|
关系型数据库 MySQL 数据库
【YashanDB知识库】YAS-00004 feature "implict table" has not been implemented yet
【YashanDB知识库】YAS-00004 feature "implict table" has not been implemented yet
下一篇
oss创建bucket