Sunday, 28 February 2016

ORA-01031: insufficient privileges in SQL Developer (Oracle11gR2XE) Solution

How I encountered this error:

           I Installed Oracle DB 11gR2XE and while creating the schema using SQL Developer I was not able to connect to the DB as SYSDBA for user SYSTEM.

           Initially I thought my account does not have DBA access but after checking I found that my account have all required access.

Error Screen Shot:


Where was the issue: 

             By default in the Oracle DB installation the user SYS has the DBA or SYSDBA permission and not the user SYSTEM so the error.

Solution : 
          
             The solution is we need to give DBA permission to user SYSTEM. Here is how you can do it.

1. Open SQL plus or SQL Command Line

2.  Connect user SYS as SYSDBA (Enter the password you gave while installation) and grant SYSDBA permission to user SYSTEM


3. Test your DB connection and your problem should be solved.





            

  SyntaxError : (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape Solution:...