Cannot connect to the databases

Important: IBM Cloud Pak® for Data Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.

Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.

Connection to databases cannot be established with the new Db2® Data Management Console that you provisioned.

Symptoms

You delete the Db2 Data Management Console instance, and provision a new instance in a short period of time. The new Db2 Data Management Console instance cannot create a connection profile for the existing database instances.

Resolving the problem

As a workaround, perform these steps:
  1. Delete the existing Db2 Data Management Console instance.
  2. Log into the cluster command line as an administrator.
  3. Run the following command:
    oc delete $(oc get configmap -l type=profile -o name -n ${PROJECT_CPD_INST_OPERANDS}) -n ${PROJECT_CPD_INST_OPERANDS}

    The command deletes the configmaps.

  4. Provision a new Db2 Data Management Console instance.