start with multi-ip addresses --advertise-address=192.168.7.210 xxx.xxx.18.210
couldn't connect server success
#21448
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Tidb 4.0.7 vim /etc/hosts
192.168.7.210 yz-mbg-018210
xxx.xxx.18.210 yz-mbg-018210
hostname -i 输出 192.168.7.210 xxx.xxx.18.210
启动tidb 会导致启动参数 --advertise-address=192.168.7.210 xxx.xxx.18.210
此时4000端口监听正常 ,但是 mysql连接报授权失败
2. What did you expect to see? (Required)
希望做一下参数判断 如果 --advertise-address 超过一个值就报异常 ,不要启动端口监听 ,避免前端lvs或者 haproxy 认为后端可用不利于高可用 ,不利于查问题
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
4.0.7
The text was updated successfully, but these errors were encountered: