error: ORA-65096: invalid common user or role name in oracle

前端 未结 6 1762
天涯浪人
天涯浪人 2020-11-30 16:56

I just installed Oracle, and it was missing the Scott schema. So i am trying to generate it myself. I got the sql script of Scott schema, but when i try to run the

6条回答
  •  渐次进展
    2020-11-30 17:36

    Might be, more safe alternative to "_ORACLE_SCRIPT"=true is to change "_common_user_prefix" from C## to an empty string. When it's null - any name can be used for common user. Found there.

    During changing that value you may face another issue - ORA-02095 - parameter cannot be modified, that can be fixed in a several ways, based on your configuration (source).

    So for me worked that:

    alter system set _common_user_prefix = ''; scope=spfile;
    

提交回复
热议问题