0

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

OMG Ponies
  • 325,700
  • 82
  • 523
  • 502
Ricky
  • 34,377
  • 39
  • 91
  • 131

1 Answers1

1

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.

OMG Ponies
  • 325,700
  • 82
  • 523
  • 502