启动项目的时候提示ORA-28000 the account is locked
2017-11-12 13:21
323 查看
启动项目的时候提示ORA-28000 the account is locked,是由于用户被锁定,如下图提示:
查询FAILED_LOGIN_ATTEMPTS参数默认值,这个参数限制了从第一次登录失败开始计算连续登陆失败的次数,
注意不是累计失败的次数。这个值是个限额,并不代表当前已经连续失败的次数。
解决步骤:
1. 在cmd命令窗口输入: sqlplus /nolog
2.继续输入:conn /as sysdba:
3.输入:desc dba_profiles; 如下图:
4 继续输入: select resource_name,limit from dba_profiles where resource_name='FAILED_LOGIN_ATTEMPTS';
从上面的查询结果可以看出,如果连续失败10次,用户就会被锁定。
5.继续执行:sqlplus /nolog;
6. conn /as sysdba;
7.alter user username account unlock;如下图:username为具体被锁定的用户名
8.修改参数failed_login_attempts=unlimited,当然这样修改会降低安全性,不建议这么做。alter profile default limit failed_login_attempts unlimited;
OK!
查询FAILED_LOGIN_ATTEMPTS参数默认值,这个参数限制了从第一次登录失败开始计算连续登陆失败的次数,
注意不是累计失败的次数。这个值是个限额,并不代表当前已经连续失败的次数。
解决步骤:
1. 在cmd命令窗口输入: sqlplus /nolog
2.继续输入:conn /as sysdba:
3.输入:desc dba_profiles; 如下图:
4 继续输入: select resource_name,limit from dba_profiles where resource_name='FAILED_LOGIN_ATTEMPTS';
从上面的查询结果可以看出,如果连续失败10次,用户就会被锁定。
5.继续执行:sqlplus /nolog;
6. conn /as sysdba;
7.alter user username account unlock;如下图:username为具体被锁定的用户名
8.修改参数failed_login_attempts=unlimited,当然这样修改会降低安全性,不建议这么做。alter profile default limit failed_login_attempts unlimited;
OK!
相关文章推荐
- 解决问题:在Linux系统中安装oracle后启动tomcat,导入war包,提示ORA-28000: the account is locked
- system用户登陆的时候提示 ora-28000 the account is locked
- 打开sql提示ORA-28000: the account is locked-的解决办法
- 在plsql developer中要是以scott/tiger登录时提示ora-28000 the account is locked。
- 在SQL*Pluse中以scott/tiger登录时提示ora-28000 the account is locked,解决办法
- PLSQL Developer用户登录时提示:ORA-28000: the account is locked
- java.sql.SQLException: ORA-28000: the account is locked
- oracle登录错误:ORA-28000: the account is locked 解决方法
- ORA-28000: the account is locked-的解决办法
- 出现“ORA-28000:the account is locked”的解决办法
- ORA-28000: the account is locked
- ORA-28000: the account is locked错误解决方法
- ORA-28000: the account is locked
- grid control:无法连接到数据库实例: ORA-28000: the account is locked (DBD ERROR: OCISessionBegin)
- ORA-28000 the account is locked
- ORA-28000: the account is locked/帐户已被锁定解决办法
- Summary_Oracle ORA-28000 the account is locked
- oracle 出现ORA-28000:The account is locked in 已经解决
- 解决oracle11g用户登录时的被锁定 既ora-28000 the account is locked
- ORA-28000: the account is locked-的解决办法