java.sql.SQLException: ORA-28000: the account is locked?
来源:互联网 发布:网络博客推广话术 编辑:程序博客网 时间:2024/06/05 18:44
用有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;
阅读全文
0 0
- java.sql.SQLException: ORA-28000: the account is locked
- java.sql.SQLException: ORA-28000: the account is locked?
- java.sql.SQLException: 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
- 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
- ORA-28000 the account is locked
- ORA-28000: the account is locked
- ORA-28000: the account is locked
- ORA-28000: the account is locked
- Ubuntu Server 16.04虚拟机安装
- win7配java环境变量问题,无法识别java_home,需要绝对路径
- Volatile解释
- 《Java核心技术(卷一)》读书笔记——泛型编程
- leetcode 64. Minimum Path Sum DP动态规划
- java.sql.SQLException: ORA-28000: the account is locked?
- c语言中小数取整
- vue.js 手机网页调起支付宝支付
- fff
- 内存堆和栈的区别
- Linux下网卡eth1如何修改为eth0
- swift内存管理中的引用计数
- Java面试题目总结与回答
- 《Java核心技术(卷一)》读书笔记——第十二章:集合框架