Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 文档信息不准确 tidb server version

Documentation Error, please provide feedback according to the template below:
- Issue Category: Outdated information, Incorrect description, Code error, Parameter error, Link error, Typographical error
- Affected Page: Link + Screenshot
- Error Description:
By default, the TiDB version format is: 5.7.${mysql_latest_minor_version}-TiDB-${tidb_version}
.
5.7.${mysql_latest_minor_version}
In fact, this part is hardcoded in the code:
https://github.com/pingcap/tidb/blob/master/parser/mysql/const.go#L34
ServerVersion = fmt.Sprintf(“5.7.25-TiDB-%s”, TiDBReleaseVersion)
The current local version is Server version: 5.7.25-TiDB-v7.2.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible
However, at the time of the 7.2 release, the MySQL version had already reached 5.7.42
Release date: June 29, 2023
TiDB version: 7.2.0
--
Changes in MySQL 5.7.43 (2023-07-18, General Availability)
Changes in MySQL 5.7.42 (2023-04-18, General Availability)