To list all connections
Open a command prompt and run oci dbtools connection
list to view the details of all connections within
a specified compartment:
oci dbtools connection list -c <target_compartment_ocid>
For example:
oci dbtools connection list -c ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz