ORA-65096: 安装数据挖掘器存储库时公共用户或角色名称无效

ORA-65096: invalid common user or role name while installing data miner repository

我在 SQL 开发人员中尝试安装数据挖掘器存储库时遇到错误。

如下图所示双击数据挖掘器选项卡中的连接后,我按照以下路径安装数据挖掘器存储库

步骤 01

步骤 02

步骤 03

步骤 04

步骤 05

步骤06 然后它得到以下错误。

Error starting at line : 19 in command -
create user ODMRSYS identified by Alxv19x default tablespace &&1 temporary tablespace &&2 quota UNLIMITED on &&1 PASSWORD EXPIRE
Error report -
ORA-65096: invalid common user or role name
65096. 00000 -  "invalid common user or role name"
*Cause:    An attempt was made to create a common user or role with a name
           that was not valid for common users or roles.  In addition to
           the usual rules for user and role names, common user and role
           names must start with C## or c## and consist only of ASCII
           characters.
*Action:   Specify a valid common user or role name.

有人可以帮我吗?

我们之前遇到过一次同样的问题,解决方法如下:

  1. 转到您的sql开发人员目录。
  2. 打开dataminer目录。
  3. 编辑名为 instodmrsyssql.
  4. 的脚本文件
  5. 转到存在以下 sql 查询的行:

create user ODMRSYS identified by Alxv19x default tablespace &&1 temporary tablespace &&2 quota UNLIMITED on &&1 PASSWORD EXPIRE;

  1. 在提到的查询之前添加以下内容:

alter session set "_oracle_script"=true;

最后的结果是:

alter session set "_oracle_script"=true;

create user ODMRSYS identified by Alxv19x default tablespace &&1 temporary tablespace &&2 quota UNLIMITED on &&1 PASSWORD EXPIRE;

  1. 保存
  2. 然后,如果您已经打开了 sqldeveloper,请将其关闭,然后 重新打开它并 re-run 进程。