[英]ORA-01017: invalid username/password; logon denied on Pluggable database
I created a local user under a pluggable database.我在可插拔数据库下创建了一个本地用户。 I granted some privileges required to open and use it.我授予了一些打开和使用它所需的权限。 I check the username and the password.我检查了用户名和密码。 Still it keep saying invalid username/password.仍然说无效的用户名/密码。
Step that I take:我采取的步骤:
1. alter session set container = xxxxpdb
2. alter pluggable database xxxpdb open
3. SQL> alter user #### identified by #### container = current;
User altered. -----i did this one to make sure that i have a correct password
4. connect ###/###@XXXXpdb;
ERROR:
ORA-01017: invalid username/password; logon denied
5. Then tried to connect to it this way
$ sqlplus ###/###@xxxxpdb
ERROR:
ORA-01017: invalid username/password; logon denied
I am new to container database.我是容器数据库的新手。 I would appreciate any detailed explanation!我将不胜感激任何详细的解释! Thank you.谢谢你。
Based on error message, it looks like the user doesn't exist in PDB.根据错误消息,该用户似乎不存在于 PDB 中。
For an existing user you may get a relevant error related to privilege.对于现有用户,您可能会收到与权限相关的相关错误。 For example:例如:
SQL> conn <existing_uname_without_required_privileges>/<upass>@<pdb_name>
ERROR:
ORA-01045: user <uname> lacks CREATE SESSION privilege; logon denied
Warning: You are no longer connected to ORACLE.
SQL>
For a non-existing user, the error you have observed will be returned:对于不存在的用户,将返回您观察到的错误:
SQL> conn <non_existing_user>/<upass>@<pdb_name>
ERROR:
ORA-01017: invalid username/password; logon denied
SQL>
This OraDoc Page provides the local user related information in CDB.该OraDoc 页面提供了 CDB 中本地用户的相关信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.