无法使用特定密码创建Oracle用户

时间:2015-07-30 07:58:12

标签: oracle11g user-management

在Oracle中我尝试了这个查询

create user ACT_APP 
    identified by password 
    profile APP_PROFILE 
    default tablespace TS_MODULE_D 
    temporary tablespace TEMP;

发送此查询后 我得到了这两个错误。

  1. 指定密码的密码验证失败
  2. 密码应包含至少一个数字,一个字符和一个标点符号
  3. 所以我将查询修改为

    create user ACT_APP 
        identified by !234qwer 
        profile APP_PROFILE 
        default tablespace TS_MODULE_D 
        temporary tablespace TEMP;
    

    但我又收到了另一个错误

      

    缺少或无效的选项

2 个答案:

答案 0 :(得分:1)

From the manual:

  

密码必须遵守" Database Object Naming Rules"

部分中描述的规则

!234qwer不是有效的对象名称,因为其前导!需要用双引号括起来:

create user ACT_APP 
    identified by "!234qwer"
    profile APP_PROFILE 
    default tablespace TS_MODULE_D 
    temporary tablespace TEMP;

答案 1 :(得分:0)

试试这个:

    create user ACT_APP 
    identified by qwer@123 
    profile APP_PROFILE 
    default tablespace TS_MODULE_D 
    temporary tablespace TEMP;

如果没有,请尝试更改密码并尝试

相关问题