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

Cannot create Oracle user with specific password

在 Oracle 中我尝试了这个查询

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

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

  1. 指定密码的密码验证失败
  2. 密码应至少包含一位数字、一位字符和一位标点符号

所以我将查询修改为

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

但是我又遇到了一个错误

missing or invalid option

试试这个:

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

如果不行,请尝试更改密码并尝试

From the manual:

Passwords must follow the rules described in the section "Database Object Naming Rules"

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

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