我在一个可插入的数据库下创建了一个本地用户。我授予了打开和使用它所需的一些权限。我检查用户名和密码。尽管如此,它仍然显示无效用户名/密码。
我采取的步骤:
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我是容器数据库的新手。如果有任何详细的解释,我将不胜感激!谢谢。
发布于 2019-12-23 19:28:36
根据错误消息,该用户似乎不存在于PDB中。
对于现有用户,您可能会收到与权限相关的错误。例如:
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>对于不存在的用户,将返回您观察到的错误:
SQL> conn <non_existing_user>/<upass>@<pdb_name>
ERROR:
ORA-01017: invalid username/password; logon denied
SQL> 该OraDoc Page提供云数据库中本地用户的相关信息。
https://stackoverflow.com/questions/59216326
复制相似问题