ORA-01045: user %s lacks CREATE SESSION privilege; logon denied
First create a new user, but do not grant the CREATE SESSION privileges:
SQL> create user i_lack_privileges identified by please_grant_them; User created.Next, try to logon with the new user:
H:\>sqlplus i_lack_privileges/please_grant_them@//localhost/ORA111 SQL*Plus: Release 11.1.0.7.0 Copyright (c) 1982, 2008, Oracle. All rights reserved. ERROR: ORA-01045: user I_LACK_PRIVILEGES lacks CREATE SESSION privilege; logon denied Enter user-name:In order to successfully connect to the database, we need to grant the necessary privileges:
SQL> grant create session to i_lack_privileges; Grant succeeded.You can also grant the CONNECT role to a (new) user.
Welcome to our forum for Oracle error: ORA-01045 Add your own message
At the moment there are no forum messages. You can add your own question.
Add your message
Ask Your Question
If you need more information about this particular error message, you can leave a forum message.
We are replying to this message whenever we have some spare time, so please do not consider this as a private 'solve my critical issue asap' service.
Should you need professional Oracle Assistance to make your project a success, please have a look at our consultancy services.
Spam Protection
In order to prevent automatic generation of messages, we are asking for a validation code. This code is unique and is generated every time a new message is asked.
If you do not enter the validation correctly, your message will not be recorded.
Forum Rules
Please be polite, do not USE ALL UPPERCASE, no insults, violance or any other threats.
