doc-exports/docs/gaussdb_mysql/umn/gaussdb_faq_0009.html
Wang , Deng Ke a3ce99ce37 gaussdb UMN Initial version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2022-12-02 11:14:54 +00:00

3.8 KiB

What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) DB Instance?

Perform the following steps to identify the problem:

  1. Check whether the ECS and GaussDB(for MySQL) DB instance are located in the same VPC.

    • If they are in the same VPC, go to 2.
    • If they are in different VPCs, create an ECS in the VPC where the DB instance is located.

  2. Check whether a security group has been created for the ECS.

    • If a security group has been created, check whether its configuration rules are suitable.

      For details, see security group description in Step 1: Create a DB Instance. Then, go to 3.

    • If no security group has been created, go to the VPC console from the ECS details page and create a security group.

  3. Check whether the ECS can connect to the DB instance over the instance port.

    The default port of the DB instance is 3306.

    telnet <IP address> {Port number}
    • If the ECS can connect to the DB instance port, the network between the ECS and the DB instance is normal.
    • If the ECS cannot connect to the DB instance port, contact technical support.