解决方法:
sqlplus / as sysdba
sql>alter user username account unlock;
User altered.
一般数据库默认是10次尝试失败后锁住用户:
1、查看FAILED_LOGIN_ATTEMPTS的值
2、修改为30次select * from dba_profiles where RESOURCE_NAME = 'FAILED_LOGIN_ATTEMPTS';
3、修改为无限次(为安全起见,不建议使用)alter profile default limit FAILED_LOGIN_ATTEMPTS 30;
alter profile default limit FAILED_LOGIN_ATTEMPTS unlimited;