【解决】ora-28000: the account is locked

使用oracle用户登陆到服务器,使用sysdba登陆到数据库,

命令:sqlplus / as sysdba

1、查看用户限制登陆次数(默认10次)

SQL>select * from dba_profiles where RESOURCE_NAME='FAILED_LOGIN_ATTEMPTS';

2、解锁(xxx代表被锁的用户)

 SQL>alter user xxx account unlock;

3、改为无限制

 SQL>alter profile default limit failed_login_attempts unlimited;

原文地址:https://www.cnblogs.com/langgj/p/11677901.html