Database Administration (MOSC)

MOSC Banner

Getting an Error while editing user "ORA-01924: role 'DBA' not granted or does not exist"

Hi, in my autonomous database on Oracle Cloud Free Tier, I'm trying to give my ADMIN user the DBA role and I'm facing this error:

"Error while editing user

ORA-01924: role 'DBA' not granted or does not exist"

I'm facing a similar error while trying to grant SCHEDULER_ADMIN role to my ADMIN user or when I try to grant those roles to an APEX_USER.

Note: My main aim is to give CREATE EXTERNAL JOB privileges to my user.

How do I resolve this error?

Is there any way I can log into the autonomous database as SYS or SYSDBA?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center