在Oracle数据库中,一般默认用户尝试失败登陆10次,超过了10次就自动锁住用户。
具体查看select * from dba_profiles;
更改为30次,alter profile default limit FAILED_LOGIN_ATTEMPTS 30;
更改为无限次,alter profile default limit FAILED_LOGIN_ATTEMPTS unlimited;
查看test用户是否被锁:
select * from dba_users where username=‘test’;
解锁:
alter user test account unlock;