我在Oracle中遇到了关于我的数据库的问题,当我打开我的数据库时,它显示一条消息:“ORA-28001:密码已过期”
我已经更新了我的帐户:
sqlplus /nolog sql> connect / as SYSDBA Connected. sql> SELECT username,account_status FROM dba_users WHERE ACCOUNT_STATUS LIKE '%EXPIRED%'; sql> ALTER USER system IDENTIFIED BY system; User altered. sql> ALTER USER system ACCOUNT UNLOCK; User altered. sql> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED; Profile altered. sql> exit
我查看并查看,我的帐户:’system’已打开,但我在Oracle sql Developer上打开它,它仍然有警报:
ORA-28001: The password has expired
我已经修复了问题,只需要检查:
原文链接:https://www.f2er.com/oracle/205727.htmlopen_mode from v$database
然后检查:
check account_status to get mode information
然后使用:
alter user myuser identified by mynewpassword account unlock;