메뉴 건너뛰기

GREATUSER

tech

DB ORA-65096: invalid common user or role name on oracle12c

위대한유저 2015.07.08 07:22 조회 수 : 183

ORA-65096: invalid common user or role name on oracle12c

오라클12c 를 설치하고 계정을 생성하다 보니 이런 에러가 발생하면서 실패;;;;;;

구문이 맞는지 확인했으나.. 너무 간단하기도 하고 틀린것 같지도 않아서 찾아보니..

http://docs.oracle.com/database/121/ERRMG/e60000.htm

 

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.

이렇댄다..

아무리 공식적인 거라도 그렇지..

그럼 세상에 뭔 ”C##”을 계정을 생성할때마다 써줘야 하는건가… 했더니만..

 

세상 어디에든 젖과 꿀은 있게 마련인갑다…

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

 

connect system/manager as sysdba

alter session set "_ORACLE_SCRIPT"=true;

create user fred identified by flintstone;

grant dba to pubs; connect fred/flintstone

 

이렇게 하면 이전처럼 일반적인 모양의 아이디를 사용할 수 있다고 한다… ㅋ

위로