ITPub博客

首页 > 数据库 > Oracle > ORA-65096: invalid common user or role name

ORA-65096: invalid common user or role name

原创 Oracle 作者:studywell 时间:2015-03-05 10:34:14 1 删除 编辑

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';

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29519108/viewspace-1448890/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: oracle 12c EM 登录
请登录后发表评论 登录
全部评论

注册时间:2014-03-04

  • 博文量
    307
  • 访问量
    538516