tencent cloud

Feedback

One-Click Connectivity Checker

Last updated: 2022-03-08 16:14:10

    If you are unable to access a TencentDB for MySQL instance over the private or public network, you can use the connectivity checker to easily troubleshoot connectivity issues.

    If you encounter a connectivity issue when accessing a TencentDB for MySQL instance from a CVM instance over the private or public network, you can use the connectivity check tool provided in the TencentDB for MySQL console to easily troubleshoot the issue.

    Private Network Connectivity Check

    1. Log in to the TencentDB for MySQL console. In the instance list, click the ID of the instance to be checked and access the instance management page.

    2. Select Connection Check > Private Network Check.

    3. Click Add CVMs to Access This Instance.

      Note:

      Only CVM instances in the same region as the TencentDB for MySQL instance are listed by default. If you need cross-region access, enable network interconnection through a Cloud Connect Network.

    4. Click Start Check and a check report will be generated after the check is completed.

    5. In the Operation column of the check report, click View Report to view the check result.

    • If the check status is Normal, it means that the CVM instance is allowed to access this TencentDB for MySQL instance over the private network.
    • If the check status is Abnormal, it means that the CVM instance cannot access this TencentDB for MySQL instance over the private network. In this case, troubleshoot by following the Suggested Solution and connect again.
      Check ItemException Handling
      MySQL instance status The MySQL instance has been terminated. If it is terminated by mistake, please go to the recycle bin to restore it.
      CVM instance status The CVM instance has been terminated. If it is terminated by mistake, please go to the recycle bin to restore it.
      The CVM instance is shut down. To use it, please start it up in the CVM console.
      CVM and MySQL are in the same VPC The networks of the CVM and MySQL instances are of different types. Please refer to Troubleshooting Connection Errors to modify their network types so that they are in the same type of network.
      The CVM and MySQL instances are using different VPC IP ranges. Please refer to Troubleshooting Connection Errors to modify their VPCs so that they are in the same VPC in the same region.
      CVM security group policy The outbound rule of the CVM instance's security group rejects the access to the IP and port of the MySQL instance. Please refer to Troubleshooting Connection Errors to modify the outbound rule to allow the access to the IP and port of the MySQL instance.
      MySQL security group policy The inbound rule of the MySQL instance's security group rejects the access from the IP and port of the CVM instance. Please refer to Troubleshooting Connection Errors to modify the inbound rule to allow the access from the IP and port of the CVM instance.

    Public Network Connectivity Check

    1. Log in to the TencentDB for MySQL console. In the instance list, click the ID of the instance to be checked and access the instance management page.
    2. Select Connection Check > Public Network Check.
    3. Click Add Public Network Servers to Access This Instance.
    4. Click Start Check and a check report will be generated after the check is completed.
    5. In the Operation column of the check report, click View Report to view the check result.
    • If the check status is Normal, it means that the server is allowed to access this TencentDB for MySQL instance over the public network.
    • If the check status is Abnormal, it means that the server cannot access this TencentDB for MySQL instance over the public network. In this case, troubleshoot by following the Suggested Solution and connect again.
      Check ItemException Handling
      MySQL instance statusThe MySQL instance has been terminated. If it is terminated by mistake, please go to the recycle bin to restore it.
      Public network access status The public network access has been disabled for the MySQL instance. Please refer to Connecting to MySQL Instance to enable it.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support