How to Modify TiDB Server Configuration

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 如何修改tidb server的配置

| username: Hacker_suny

【TiDB Usage Environment】Poc
【TiDB Version】7.1
【Reproduction Path】None
【Encountered Problem】
When setting up haproxy, the article mentions modifying the networks configuration but does not explain how to modify it.
TiDB 配置文件描述 | PingCAP 文档中心

As mentioned, could you please advise on how to modify this configuration and make it effective?
【Resource Configuration】Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachment: Screenshot/Logs/Monitoring】

| username: 裤衩儿飞上天 | Original post link

  1. tiup cluster edit-config XXXX

image

The IP is the IP of haproxy.

  1. After making the changes, reload as prompted.
| username: Hacker_suny | Original post link

Is there an example of modifying using the command tiup cluster edit-config tidbname?

| username: 裤衩儿飞上天 | Original post link

The screenshot in the reply above shows the parameter added by edit-config. You can follow the screenshot to make the changes.

| username: Hacker_suny | Original post link

Oh, got it. This configuration needs to be added at the same level as server_configs and global.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.