From fc506249734070cf37678d65babc94733e510750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Thu, 22 Apr 2021 05:05:54 +0200 Subject: [PATCH] cherry pick #5421 to release-4.0 Signed-off-by: ti-srebot --- comment-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment-syntax.md b/comment-syntax.md index 815adf1f0dffc..77d0778f7483c 100644 --- a/comment-syntax.md +++ b/comment-syntax.md @@ -150,6 +150,6 @@ For details about the optimizer hints that TiDB supports, see [Optimizer hints]( > **Note** > -> In MySQL client before 5.7.7, TiDB specific comment syntax and optimizer comment syntax are treated as comments and cleared by default. To use the two syntaxes in the old client, add the `--comments` option when you start the client. For example, `mysql -h 127.0.0.1 -P 4000 -uroot --comments`. +> In MySQL client, the TiDB-specific comment syntax is treated as comments and cleared by default. In MySQL client before 5.7.7, hints are also seen as comments and are cleared by default. It is recommended to use the `--comments` option when you start the client. For example, `mysql -h 127.0.0.1 -P 4000 -uroot --comments`. For more information, see [Comment Syntax](https://dev.mysql.com/doc/refman/5.7/en/comments.html).