The function of the treat-old-version-utf8-as-utf8mb4 parameter

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

Original topic: treat-old-version-utf8-as-utf8mb4 参数的作用

| username: Raymond

Could you please tell me what the treat-old-version-utf8-as-utf8mb4 parameter in TiDB is for? I’ve done several experiments but still don’t know what this parameter does. TiDB 配置文件描述 | PingCAP 文档中心

| username: 啦啦啦啦啦 | Original post link

The image is not visible. Please provide the text you need translated.

| username: Raymond | Original post link

It seems that this parameter automatically converts utf8 tables from versions before 2.1.7 to utf8mb4, which should be of no use in the current version.