[ORACLE]ORA-28002 The password will expire within 7 days.将不能登录系统
2017-12-17 22:02
591 查看
错误“ORA-28002 The password will expire within 7 days. Cannot logon to the database“当在进程调度器上运行AE程序可能遇到这个错误,很多时候这个错误并不仅仅在进程调度器中出现,还有可能会在使用plsql developer或sqlplus访问数据库时候。
遇到这样的错误是因为ConnectID账户或SYSADM账户在DBA_USERS表中已经过期,在11g以前版本这个问题从没出现过,因为账户设置的永不过期,在11g以后的版本,他们被hardcoded为有效期189天。
如何解决“ORA-28002 The password will expire within 7 days. Cannot logon to the database”
按照以下步骤解决问题:
1、使用system账号登录数据库(不是sysadm)
2、
SQL> select account_status, profile from dba_users where username=’the PeopleSoft ConnectID’;
SQL> select account_status, profile from dba_users where username=’sysadm’;
3、用以下语句修改。
SQL>ALTER PROFILE <Profile value from step 2> LIMIT PASSWORD_LIFE_TIME UNLIMITED;
4、使用sqlplus登录到数据库并使用以下命令改密码。
SQL>ALTER USER <PeopleSoft ConnectID> IDENTIFIED BY <current ConnectID password>;
SQL>ALTER USER SYSADM IDENTIFIED BY <current SYSADM password>;
如果感到对您有帮助没准儿你就会赞赏,iOS 专用赞赏通道:
遇到这样的错误是因为ConnectID账户或SYSADM账户在DBA_USERS表中已经过期,在11g以前版本这个问题从没出现过,因为账户设置的永不过期,在11g以后的版本,他们被hardcoded为有效期189天。
如何解决“ORA-28002 The password will expire within 7 days. Cannot logon to the database”
按照以下步骤解决问题:
1、使用system账号登录数据库(不是sysadm)
2、
SQL> select account_status, profile from dba_users where username=’the PeopleSoft ConnectID’;
SQL> select account_status, profile from dba_users where username=’sysadm’;
3、用以下语句修改。
SQL>ALTER PROFILE <Profile value from step 2> LIMIT PASSWORD_LIFE_TIME UNLIMITED;
4、使用sqlplus登录到数据库并使用以下命令改密码。
SQL>ALTER USER <PeopleSoft ConnectID> IDENTIFIED BY <current ConnectID password>;
SQL>ALTER USER SYSADM IDENTIFIED BY <current SYSADM password>;
如果感到对您有帮助没准儿你就会赞赏,iOS 专用赞赏通道:
相关文章推荐
- Oracle 11g 错误:ORA-28002: the password will expire within 7 days 解决方法
- Oracle 11G登陆提示ORA-28002:the password will expire within 7 days
- Oracle SQL Developer出现错误 【ora-28002:the password will expire within 7 days】的解决办法
- Oracle 11g 错误:ORA-28002: the password will expire within 7 days 解决方法
- Oracle Database 11g 数据库普通用户登录时提示 ORA-28002: the password will expire within 5 days
- Oracle错误 ORA-28002: the password will expire within 7 days 的解决办法
- oracle错误:ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days 解决方法(后面部分为拷贝,前面加上了自己遇到的问题的时候解决方案)
- ORA-28002: the password will expire within 7 days 解决方法
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days
- 解决ORA-28002:the password will expire within 1 days的问题
- ORA-28002: the password will expire within 7 days
- ORA-28002: the password will expire within x days
- 使用sqlplus连接提示:ORA-28002: the password will expire within 7 days
- ORA-28002: the password will expire within N days
- ORA-28002: the password will expire within string days
- 错误:ORA-28002: the password will expire within 7 days 解决方法
- ORA-28002: the password will expire within 7 days解决