dbaascli pdb connect_info
The pdb connect_info subcommand of the dbaascli utility returns network connection information for a pluggable database (PDB) in your Exadata Cloud at Customer environment.
Connect to a compute node as the oracle user and execute this command.
$ dbaascli pdb connect_info --pdbname pdbname --dbname dbnameIn the above command:
-
pdbname— specifies the name of the PDB for which you want to return connection information. -
dbname— specifies the name of the container database that hosts the PDB.
This command outputs a zip file that contains tnsnames.ora, sqlnet.ora and ojdbcs properties for the PDB. It is supported only for databases that are not in a Data Guard configuration and use Oracle Database version 12.2.0.1, or later.