diff --git a/env.sh.example b/env.sh.example index 30caaf7..27df88c 100644 --- a/env.sh.example +++ b/env.sh.example @@ -10,7 +10,7 @@ export USE_SSL='true' ## Do not change the following part jdbc_url="jdbc:mysql://${TIDB_HOST}:${TIDB_PORT}/${TIDB_DB_NAME}" -if [ 'true'=="${USE_SSL}" ]; then +if [ 'true' == "${USE_SSL}" ]; then jdbc_url="${jdbc_url}?sslMode=VERIFY_IDENTITY&enabledTLSProtocols=TLSv1.2,TLSv1.3" fi