部署后更新代码时提示账号被锁定了
1 打开oracle
输入系统账号 :sqlplus 密码:as sysdba
enter回车后在弹出光标的页面输入:
SQL> ALTER USER WEN ACCOUNT UNLOCK;(不要忘了写分号)然后按回车键
User altered.
提示解锁成功,也可以把限制输入错误的次数取消
(1) conn sys/oracle as sysdba
(2)select username,account_status from dba_users where username=‘xxx’;,查看到用户锁了
(3)查看用户限制登陆次数select * from dba_profiles where RESOURCE_NAME=‘FAILED_LOGIN_ATTEMPTS’;
(4)alter profile default limit failed_login_attempts unlimited;修改用户无论输入多少次都不会被锁定