All Products
Search
Document Center

:Added the following message to the ECS-based user-created Database: "Unable to connect to the database due to whitelist issues."

Last Updated:Feb 08, 2021

Issue

During the process of adding a user-created ECS database in the new version of the DMS console, a whitelist has been added but the message "unable to connect to database due to whitelist problem" is still prompted.

note: this problem only occurs in classic network-type ECS instances.

Solutions

  1. Log on to the ECS instance. For more information, see connection methods overview.
  2. Run the following command to confirm that no route exists for the 11.0.0.0/8 CIDR block:
    route -n
    The system displays the following types, and the network route does not exist.

  3. Run the following command to add a route entry.
    route add -net 11.0.0.0/8 gw [$Gateway]
    note :[$Gateway] is the Gateway of the ECS instance. You can obtain the value from the existing route entry.
  4. After the execution is complete, re-add the ECS-based user-created database in the new version DMS console.

References

Scope

  • Data Management (DMS)