ORA-65096:安装数据矿工存储库时无效的公共用户或角色名称

时间:2017-12-12 07:48:06

标签: oracle oracle-sqldeveloper oracle12c dataminer

我在尝试在SQL开发人员中安装数据矿工存储库时遇到了错误。

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

enter image description here

步骤01

enter image description here

第02步

enter image description here

第03步

enter image description here

步骤04

enter image description here

步骤05

enter image description here

步骤06 然后它会出现以下错误。

enter image description here

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 个答案:

答案 0 :(得分:1)

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

  1. 转到您的sqldeveloper目录。
  2. 打开dataminer目录。
  3. 编辑名为instodmrsyssql的脚本文件。
  4. 转到存在以下sql查询的行:
  5. create user ODMRSYS identified by Alxv19x default tablespace &&1 temporary tablespace &&2 quota UNLIMITED on &&1 PASSWORD EXPIRE;

    1. 在上述查询之前添加以下内容:
    2. 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,只需关闭它即可 重新打开它并重新运行该过程。