PL/SQL登录很短时间session就自动断开
1.首先查看你这个用户的profile文件
select profile from dba_users where username='USERNAME';
2.查看一下profile文件中的idle_time设置
select * from dba_profiles where profile='PROFILENAME';
3.如果第二步查找的idle_time值很小,修改为UNLIMITED不限制
alter profile prfilename idle_time=UNLIMITED;
4.如果都改过之后还是自动断开检查一下PL/SQL工具的设置情况
Tools->Preferences->connection:勾选check connection
1.首先查看你这个用户的profile文件
select profile from dba_users where username='USERNAME';
2.查看一下profile文件中的idle_time设置
select * from dba_profiles where profile='PROFILENAME';
3.如果第二步查找的idle_time值很小,修改为UNLIMITED不限制
alter profile prfilename idle_time=UNLIMITED;
4.如果都改过之后还是自动断开检查一下PL/SQL工具的设置情况
Tools->Preferences->connection:勾选check connection
本文介绍了解决PL/SQL登录后短时间内自动断开连接的问题。通过检查用户配置文件中的idle_time设置并进行相应调整,同时确保PL/SQL工具的连接设置正确。
281

被折叠的 条评论
为什么被折叠?



