简体   繁体   English

在 oracle 19c 中解锁 SCOTT 用户

[英]Unlocking SCOTT user in oracle 19c

Trying to unlock SCOTT in oracle 19c.试图在 oracle 19c 中解锁 SCOTT。

 alter user scott account unlock identified by tiger;

ERROR Message: ORA-01918: user 'SCOTT' does not exist错误消息:ORA-01918:用户 'SCOTT' 不存在

From documentation :文档

Starting from Oracle 12cR2 , only HR schema is provided via installation.Oracle 12cR2开始,仅通过安装提供HR模式。 All other sample schema scripts are available on GitHub at https://github.com/oracle/db-sample-schemas/releases/latest所有其他示例模式脚本可在https://github.com/oracle/db-sample-schemas/releases/latest的 GitHub 上获得

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.示例模式中不再提供SCOTT模式,您可以使用旧 Oracle 版本中的脚本手动创建它,或者使用 HR 和其他示例模式。

Once you install the sample schemas manually in PDB, you could then unlock them and use.在 PDB 中手动安装示例模式后,您可以解锁并使用它们。 See Oracle Multi-tenant DB Post Installation Mandatory Steps请参阅Oracle 多租户数据库安装后强制步骤

In ORACLE 19C How TO CHANGE sysdba password.在 ORACLE 19C 如何更改 sysdba 密码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM