12c容器库中创建用户报错 ORA-65096: invalid common user or role name
SQL> CREATE USER T identified by t;
CREATE USER T identified by t
*
ERROR at line 1:
ORA-65096: invalid common user or role name
利用oracle自带工具错误提示工具:
SQL> !oerr ora 65096
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.
//
SQL> create user c##t identified by t;
User created.
在容器数据库中就可查询了;
select * from dba_users u where u.USERNAME='C##T';