Not sure how it happened, but somehow my SYS user in my local Oracle 19c database got locked.
When I try to log in, I get a "ORA-28000: The account is locked." error. I tried querying dba_users (as one of my other users), and it shows that the account status is "LOCKED(TIMED)". Unfortunately, as far as I'm aware, I don't have any other users that have the permissions to be able to unlock the SYS account.
I've scoured the internet for answers about this, but all I can find is people saying that the SYS user actually can't be locked, so I'm not sure how mine got into this state.
Does anyone have any ideas about how to fix this?
SYSTEM
- with theDBA
role or theALTER USER
privilege should be able to unlock the account. If that doesn't work, contact Oracle Support.