简体   繁体   English

ORA-01017: 无效的用户名/密码; 可插入数据库上的登录被拒绝

[英]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.

相关问题 ORA-01017 无效的用户名/密码登录被拒绝 - ORA-01017 invalid username/password logon denied Django - 错误:ORA-01017:用户名/密码无效; 登录被拒绝 - Django - ERROR: ORA-01017: invalid username/password; logon denied Sqldeveloper 无法连接 Oracle 数据库(ORA-01017,用户名/密码无效;登录被拒绝) - Cannot connect Oracle database by Sqldeveloper(ORA-01017,invalid username/password;logon denied) ORA-01017:无效的用户名/密码; Oracle 12c“数据库配置助手”工具抛出拒绝登录 - ORA-01017: invalid username/password; logon denied is thrown by the Oracle 12c “Database Configuration Assistant” tool 错误:ORA-01017:无效的用户名/密码; 登录被拒绝警告:您不再连接到ORACLE - ERROR: ORA-01017: invalid username/password; logon denied Warning: You are no longer connected to ORACLE Oracle.ManagedDataAccess 和 ORA-01017: 无效的用户名/密码; 登录被拒绝 - Oracle.ManagedDataAccess and ORA-01017: invalid username/password; logon denied 如何修复&#39;java.sql.SQLException:ORA-01017:无效的用户名/密码; 春季启动时登录被拒绝&#39;错误 - How to fix 'java.sql.SQLException: ORA-01017: invalid username/password; logon denied' error in spring-boot ORA-01017创建12c数据库时用户名/密码无效 - ORA-01017 Invalid Username/Password when creating a 12c database oracle 数据库 19c ora-01017 用户名/密码无效 - oracle database 19c ora-01017 invalid username/password 在Python中使用cx_Oracle时收到ORA-01017错误(无效的用户名/密码) - Receiving ORA-01017 error (invalid username/password) when using cx_Oracle in Python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM