Oracle出现ora-01045的解决方法
2016-09-08 22:05
459 查看
问题:
在用PL/SQL进行登录时,出现:”ora-01045 :user system lacks create session privilege; logon denied”。
原因:该用户没有创建session会话的权限
在Google找到这段的说明:
What does “ORA-01045: user USERNAME lacks CREATE SESSION privilege;logon denied” mean?
It means that the username and password with which you tried to login are known and accepted by the Oracle server,
but that the username doesn’t have permission to create a session. If you think this username should have permission to create sessions send mail to acisdba.
解决办法:
使用系统用户登录后,使用如下sql语句给出错用户赋权限
grant create session to UserName;(UserName是登录出错的用户名)
如想给scott赋予权限:使用grant create session to scott;
顶0
踩
在用PL/SQL进行登录时,出现:”ora-01045 :user system lacks create session privilege; logon denied”。
原因:该用户没有创建session会话的权限
在Google找到这段的说明:
What does “ORA-01045: user USERNAME lacks CREATE SESSION privilege;logon denied” mean?
It means that the username and password with which you tried to login are known and accepted by the Oracle server,
but that the username doesn’t have permission to create a session. If you think this username should have permission to create sessions send mail to acisdba.
解决办法:
使用系统用户登录后,使用如下sql语句给出错用户赋权限
grant create session to UserName;(UserName是登录出错的用户名)
如想给scott赋予权限:使用grant create session to scott;
顶0
踩
相关文章推荐
- Oracle出现ora-01045的解决方法
- Oracle ora-01045错误解决方法
- oracle连接中出现错误ORA-12541,ORA-12514,ORA-01017的解决方法
- 代码访问Oracle,出现ORA-01000超出打开游标的最大数 错误之解决方法
- oracle出现ORA-16038,ORA-19809,ORA-00312问题的解决方法
- 与虚拟机Oracle连接出现ora-12154问题的解决方法
- Oracle出现ora-12154无法解析指定连接标识符的解决方法
- Oracle 12c及oracle sql developer登陆scott时都出现ORA-01017错误的解决方法
- Oracle ORA-01045错误解决方法
- oracle exp出现"ORA-00302:必须说明SET_NO_OUTLINES 组件" 解决方法
- Oracle ORA-01045错误解决方法
- oracle数据库出现“批处理中出现错误: ORA-00001: 违反唯一约束条件”解决方法
- oracle exp出现"ORA-00302:必须说明SET_NO_OUTLINES 组件" 解决方法
- oracle出现ORA-16038,ORA-19809,ORA-00312问题的解决方法
- ORACLE错误1033出现和ORA-00600错误解决的方法
- oracle安装过程中出现ORA-12705和ORA-01264错误解决方法
- ORACLE出现错误1033和错误ORA-00600的解决方法
- oracle exp出现"ORA-00302:必须说明SET_NO_OUTLINES 组件" 解决方法
- oracle连接中出现错误ORA-12541,ORA-12514,ORA-01017的解决方法
- oracle 11g dataguard 出现ORA-16143: 终端恢复过程中或之后不允许进行 RFS 连接解决方法