oracle 账号解锁 java.sql.SQLException: ORA-28000: the account is locked

日志报错:ORA-28000: the account is locked
1、plsql登录提示用户被锁定
2、sys登录sqlplus登录查看
SQL> select username,account_status from dba_users t where t.username='XXX';

3、解锁
SQL> alter user XXX account unlock;

系统日志被覆盖了,原因大概是:系统连接oracle次数超过限制

改成30次
alter profile default limit FAILED_LOGIN_ATTEMPTS 30;

转载请记录来源!!!!
https://www.cnblogs.com/leihongnu/

浙公网安备 33010602011771号