Oracle connection problem with Toad
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.
精彩评论