DataGrip: how to connect to Oracle as SYSDBA

Vadzim picture Vadzim · Sep 8, 2016 · Viewed 7.5k times · Source

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.

Answer

Lerk picture Lerk · Sep 27, 2018

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)