Help Center/ Distributed Database Middleware/ User Guide (Kuala Lumpur Region)/ FAQs/ Connection Management/ Can I Connect to DDM Instances from My Local Environment?
Updated on 2022-08-17 GMT+08:00

Can I Connect to DDM Instances from My Local Environment?

Yes. To access a DDM instance from your local environment, you first need to bind an EIP to the DDM instance and then access it using the EIP on a connection tool, for example, Navicat.

Using Navicat to Log In to a DDM Instance

  1. Log in to the DDM console, locate the required DDM instance, and click its name.
  2. In the Instance Information area, click Bind and select the EIP that you have applied for
  3. On the DDM console, click the VPC icon on the left. Choose Access Control > Security Groups.
  4. On the Security Groups page, locate the target security group and click Manage Rule in the Operation column. On the displayed page, click Add Rule. Configure the security group rule as needed and click OK.

    After binding an EIP to your DDM instance, set strict inbound and outbound rules for the security group to enhance database security.

  5. Open Navicat and click Connection. In the displayed dialog box, enter the host IP address (EIP), username, and password (DDM account).
  6. Click Test Connection. If a message is returned indicating that the connection is successful, click OK. The connection will be succeeded 1 to 2 minutes later. If the connection fails, the failure cause is displayed. Modify the required information and try again.

Using Navicat to access a DDM instance is similar to using other visualized MySQL tools such as MySQL Workbench. Therefore, the procedure of using other visualized MySQL tools to connect to a DDM instance has been omitted.