Question:  I am trying to create a user in Oracle 12c and I don't give a rat's butt about pluggable databases.  When I try to create a user with the c## prefix I get the dreaded ORA-65096 error:

create user fred identified by flintstone;
ORA-65096: invalid common user or role name

I don't care if the user ID is used as a pluggable database, I just want to create a user named fred without being required to add the c## prefix (create user c##fred).

How do I fix the ORA-65096 error and create my use without a container database c## prefix?



Answer:
ORA-65096: 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.



** You can create user ID without c##, only you do the following :

connect system/manager as sysdba

alter session set "_ORACLE_SCRIPT"=true;

create user fred identified by flintstone;

grant dba to pubs; connect fred/flintstone


http://www.dba-oracle.com/t_ora_65096_create_user_12c_without_c_prefix.htm







이상입니다. 좋은 하루되세요..~






Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.

'IT > Oracle Error Message' 카테고리의 다른 글

ORA-04089: cannot create triggers on objects owned by SYS  (0) 2016.07.11

+ Recent posts