Ricky
Ricky

Reputation: 35833

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

Upvotes: 0

Views: 1009

Answers (1)

OMG Ponies
OMG Ponies

Reputation: 332521

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.

Upvotes: 1

Related Questions