java.sql.SQLException:ORA-28000:the account is locked?怎么解决
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/08/18 05:26:03
java.sql.SQLException:ORA-28000:the account is locked?怎么解决
用有DBA权限的用户或本地conn / as sysdba 登陆进行解锁
命令:alter user lxy account unlock;
ora-28000 the account is locked,出现这种原因,是因为用户被锁定了,
一般出现这种原因,是因为程序连接数据库的数量大于配置的连接数,按照我的所遇到的问题,以下步骤可以解决.
1.程序连接大于 oracle 连接数;
处理方式:重新设置 连接数:用管理员进去,执行以下脚本,
alter profile DEFAULT limit FAILED_LOGIN_ATTEMPTS 10; --设定连接数
alter profile DEFAULT limit FAILED_LOGIN_ATTEMPTS UNLIMITED; --不限制连接数
2.程序连接大于 连接池配置的连接数;
处理方式:把连接池的连接数设置大一些;
3.释放用户锁:
用超级管理员,执行 alter user 用户名 account unlock;
命令:alter user lxy account unlock;
ora-28000 the account is locked,出现这种原因,是因为用户被锁定了,
一般出现这种原因,是因为程序连接数据库的数量大于配置的连接数,按照我的所遇到的问题,以下步骤可以解决.
1.程序连接大于 oracle 连接数;
处理方式:重新设置 连接数:用管理员进去,执行以下脚本,
alter profile DEFAULT limit FAILED_LOGIN_ATTEMPTS 10; --设定连接数
alter profile DEFAULT limit FAILED_LOGIN_ATTEMPTS UNLIMITED; --不限制连接数
2.程序连接大于 连接池配置的连接数;
处理方式:把连接池的连接数设置大一些;
3.释放用户锁:
用超级管理员,执行 alter user 用户名 account unlock;
java.sql.SQLException:ORA-28000:the account is locked?怎么解决
oracle数据库中ORA-28000: the account is locked问题
java.sql.SQLException:ORA-00917:缺失逗号
java.sql.SQLException:ORA-00918:未明确定义列
在net manager中测试时提示ORA-28000:the account is locked,sqlplus连接不
java.sql.SQLException:The transaction is no longer active-st
java.sql.SQLException:Couldn't perform the operation prepare
java.sql.SQLException: Listener refused the connection with
java.sql.SQLException:Listener refused the connection with t
具体信息如下:java.sql.SQLException:Listener refused the connection
oracle -- the account is locked
java 连接oracle报错java.sql.SQLException: Listener refused the c