开发者

Oracle connection problem with Toad

开发者 https://www.devze.com 2022-12-11 08:53 出处:网络
I created a new user - CK - with Toad on 10g XE. An error popup when I use CK to login: ORA-01045: user CK lack开发者_开发知识库 create session privilege. What privilege do I should give to CK?

I created a new user - CK - with Toad on 10g XE. An error popup when I use CK to login: ORA-01045: user CK lack开发者_开发知识库 create session privilege. What privilege do I should give to CK?

BTW: but I can use SqlPlus to login


You need to grant CREATE SESSION to the user you are trying to login as:

GRANT CREATE SESSION ON [object] TO [user];

The CREATE SESSION privilege is granted to users in order to create a session to the database. Without a session, you can't connect the database. If you're curious, you could read this Ask Tom: When not to use CREATE SESSION"...

Here's a good read on granting/revoking privileges.

0

精彩评论

暂无评论...
验证码 换一张
取 消