当前位置:Gxlcms > 数据库问题 > Oracle ORA-01045错误解决方法(转发的)

Oracle ORA-01045错误解决方法(转发的)

时间:2021-07-01 10:21:17 帮助过:46人阅读

 

 

问题:

在用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是登录出错的用户名)

Oracle ORA-01045错误解决方法(转发的)

标签:语句   ack   登录出错   news   权限   you   lan   问题   iss   

人气教程排行