Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 为什么我通过navicat可以连上,但是mysql连不上

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots / Logs / Monitoring]
[root@localhost cloudsky_ops]# mysql -u root -h 10.86.1.170 -p 4000 -p
Enter password:
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘10.86.1.170’ (113)
[root@localhost cloudsky_ops]#