tencent cloud

Read-Write Address Management
Last updated: 2025-12-03 11:54:29
Read-Write Address Management
Last updated: 2025-12-03 11:54:29
After creating a TencentDB for MySQL Cluster Edition instance, you can change its read-write node's network and modify private network address. This document describes how to change the network and modify private network address or port number of a Cluster Edition instance's read-write node through the console.

Prerequisites

For instances of the TencentDB for MySQL Cluster Edition, see Purchase Methods for creation.
The instance is running.

Notes

When the network is changed, the IP of the instance will be replaced with a new one. The old one will become invalid 24 hours following the change by default. Please modify the client program accordingly in time.
If the Valid Hours of Old IP is set to 0 hour, the old IP is reclaimed immediately after the network is changed.
You can only select a VPC and subnet in the same region as the instance.
Modifying the private network address will affect the database service being accessed. Please modify the client program accordingly in time.

Changing Network of Read-Write Node

To change the network of a Cluster Edition instance's read-write nodes, you can select a network in other regions. After the network is changed, the old IP will become invalid. The application systems/clients need to bind to the new network IP.
1. Log in to the MySQL Console. In the instance list, click Instance ID or Manage in the Operation column to enter the Instance Details page.
2. After going to Instance Details > Network Information > Network, select Change Network.

Note:
You can also choose Instance Architecture Diagram on the Instance Details page, and click Change Network in the preview window of Read-Write Address.

3. In the Change Network pop-up, change the network, set Valid Hours of Old IP (24 hours by default), select the new IP assignment method, and click OK.

Select the new IP assignment method:
Auto-Assign IP: The system automatically assigns an IP from the selected network.
Specify IP: Custom the IP.
4. When it is returned to the instance details page, you can view the new network of the read-write node.
Note:
If the Valid Hours of Old IP is set to 0 hour, the old IP address will be immediately reclaimed after the network is changed.
If the old IP address recycling time is set to a non-zero value, the old IP address will be reclaimed after the set duration following a network change. To release the old IP address in advance, go to the Instance Details page, choose Network Information > Private Network Address, and click Release Original IP Address to perform immediate release on the target address.


Modifying Private Network Address or Port Number of Read-Write Node

Modifying only the private network address of the read-write node means only changing the IP of the read-write node's private network under the current region and network. Modifying the private network address will affect the database service being accessed.
1. Log in to the MySQL Console. In the instance list, click Instance ID or Manage in the Operation column to enter the Instance Details page.
2. On the Instance Details page, choose Network Information > Private IP Address, and click Edit.

Note:
You can also choose Instance Architecture Diagram on the Instance Details page, and perform the modification by clicking the edit icon after Private Network in the preview window of Read-Write Address.

3. In the pop-up, modify the private network address or port number according to actual needs, then click OK.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback