From 136078d96683d285ba6dc2303baec8055504dcc5 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Sun, 4 Feb 2024 17:46:13 +0800 Subject: [PATCH] add MySQL Connector/J version requirement note (#16410) (#16411) --- develop/dev-guide-sample-application-java-jdbc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/develop/dev-guide-sample-application-java-jdbc.md b/develop/dev-guide-sample-application-java-jdbc.md index 2d47e26c3dc50..5a11710e1ca99 100644 --- a/develop/dev-guide-sample-application-java-jdbc.md +++ b/develop/dev-guide-sample-application-java-jdbc.md @@ -36,6 +36,10 @@ To complete this tutorial, you need: +> **Note:** +> +> For security considerations, it is recommended that you use `VERIFY_IDENTITY` to establish TLS connections to TiDB clusters when connecting over the internet. Both TiDB Serverless and TiDB Dedicated use Subject Alternative Name (SAN) certificates, which require MySQL Connector/J version to be greater than or equal to [8.0.22](https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-22.html). + **If you don't have a TiDB cluster, you can create one as follows:** - (Recommended) Follow [Creating a TiDB Serverless cluster](/develop/dev-guide-build-cluster-in-cloud.md) to create your own TiDB Cloud cluster.