ORA-28007: the password cannot be reused ORACLE 报错 故障修复 远程处理

文档解释

ORA-28007: the password cannot be reused

Cause: The password cannot be reused for the specified number of days or for the specified nunmber of password changes

Action: Try the password that you have not used for the specified number of days or the specified number of password changes Refer to the password parameters in the CREATE PROFILE statement

ORA-28007是由于密码重用所导致的Oracle数据库错误。当用户尝试重新使用相同密码时,就会产生此错误。

官方解释

对于这个错误,Oracle文档说:

“ORA-28007:无法重复使用密码。有关更多信息,请参阅V$PWFILE_USERS.”

常见案例

ORA-28007的一个常见的情况是当用户创建一个新的系统用户时,如果将它的密码设置为与另一个系统用户的密码相同,则可能会发生这个错误。此外,如果使用相同的密码重新创建一个已被删除的用户,也可能引起这个错误。

正常处理方法及步骤

一般处理方法及步骤

1.使用 sys 用户登录到数据库实例中。

2.运行以下查询:

SELECT username, used_date, change_date

FROM v$pwfile_users;

3.更新结果中对某用户的密码使用日期。

4.以管理员身份运行以下命令来更新密码:

ALTER USER IDENTIFIED BY ;

5.重新尝试登录用户,如果成功,说明已经解决了ORA-28007错误。


数据运维技术 » ORA-28007: the password cannot be reused ORACLE 报错 故障修复 远程处理