Reputation: 21
Trying to unlock SCOTT in oracle 19c.
alter user scott account unlock identified by tiger;
ERROR Message: ORA-01918: user 'SCOTT' does not exist
Upvotes: 2
Views: 5112
Reputation: 49092
From documentation:
Starting from Oracle 12cR2, only HR
schema is provided via installation. All other sample schema scripts are available on GitHub at https://github.com/oracle/db-sample-schemas/releases/latest
SCOTT
schema is no longer provided in the sample schemas, you could manually create it using the scripts from older Oracle versions or use the HR and other sample schemas.
Once you install the sample schemas manually in PDB, you could then unlock them and use. See Oracle Multi-tenant DB Post Installation Mandatory Steps
Upvotes: 2