【发布时间】:2021-03-24 11:20:58
【问题描述】:
我在 Windows 服务器中使用 Oracle,并且我已被授予 DBA 角色,现在我正在尝试使用以下方式解锁用户帐户:
ALTER USER user_account ACCOUNT UNLOCK;
我得到这个错误:
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "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.
我不知道为什么!知道 DBA 角色可以改变用户!
那么,是什么导致了这个错误?
【问题讨论】:
标签: oracle oracle-sqldeveloper database-administration