Reputation: 26160
I tried to setup in DataGrip an Oracle connection under SYS user.
But got error:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
But there is no option in GUI to choose as SYSDBA
option.
Upvotes: 36
Views: 15926
Reputation: 1427
While this has been answered already. I would like to be a little more descriptive by adding screenshots.
Add a new database. Make sure the username is set to sys as sysdba
. The default password usually is oracle
.
Now moved to Advanced
tab. Here find internal_logon
and set it's parameter to sysdba
.
That's it. You're ready to connect.
Upvotes: 13
Reputation: 81
sys as sysdba
as username works fine for Database plugin in IntelliJ IDEA.
Upvotes: 7
Reputation: 1115
Coming back here two years later, it seems to be not possible anymore to change the advanced properties in the connection settings.
Instead you have to supply sys as sysdba
as username.
(This might seem obvious but took me a while to find this out)
Upvotes: 59
Reputation: 26160
While there is no easy switch currently, it's still possible to go to Advanced tab in connection's properties and set internal_logon
param to sysdba
value.
Upvotes: 23