I create user C##ADMIN in database for manage pdbs .
sqlplsqlplus sys/rootpass@172.17.0.2/orcl as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Sat May 26 15:17:09 2018
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> create user C##ADMIN identified by adminpass container=all ;
User created.
SQL> GRANT CREATE SESSION, SYSOPER,PDB_DBA,DBA, CREATE PLUGGABLE DATABASE TO c##admin CONTAINER=ALL ;
Grant succeeded.
SQL>
My problem is C##ADMIN user can not list pdbs !
sqlplus C##admin/adminpass@172.17.0.2/orcl
SQL*Plus: Release 12.1.0.2.0 Production on Sat May 26 15:20:14 2018
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Last Successful login time: Sat May 26 2018 15:17:32 +04:30
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> select pdb_name,status from cdb_pdbs;
no rows selected
SQL>
Which permission is forgotten?
Best Answer
How the Oracle Multitenant Option Affects Privileges
Granting the required privilege: