tencent cloud

TencentDB for MySQL

Setting the Read-Write Attribute of the Database Proxy

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-07-06 16:17:40
AI 번역
After a read-only instance is created, you can purchase the database proxy, configure the connection address policy, and set the database proxy address in an application. In this way, the system automatically forwards write requests to the primary instance and read requests to read-only instances. This document describes how to enable read/write separation via the console.

Prerequisites

Operation Steps

1. Log in to the TencentDB for MySQL Console, select a region at the top, and then click the target instance ID to go to the instance management page.
2. On the instance management page, choose Database Proxy > Overview, locate the target access address under Connection Address, and click Adjust Configurations in its Operation column.

3. On the configuration adjustment page, select the read/write attributes for this access connection, complete the read weight allocation, and click OK.
Note:
The weight here is for read requests (non-transactional).
For a complete introduction to all settings in the configuration adjustment window, see Setting Database Proxy Connection Address.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백