• 欢迎访问少将全栈,学会感恩,乐于付出,珍惜缘份,成就彼此、推荐使用最新版火狐浏览器和Chrome浏览器访问本网站。
  • 吐槽,投稿,删稿,交个朋友,商务沟通v:ai_draw
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏少将全栈吧

Oracle ORA-01045错误解决方法

点滴 admin 8年前 (2016-08-01) 4408次浏览 已收录 0个评论 扫描二维码

问题:

在用PL/SQL进行登录时,出现:”ora-01045 :user system lacks create session privilege; logon denied”。

原因:没有权限

在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.

解决方法:

用sys登入Oracle DB后,下grant create session to UserName;(UserName是登录出错的用户名)

喜欢 (2)
[🍬谢谢你请我吃糖果🍬🍬~]
分享 (0)
关于作者:
少将,关注Web全栈开发、项目管理,持续不断的学习、努力成为一个更棒的开发,做最好的自己,让世界因你不同。
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址