Skip to content

Commit

Permalink
fix: if condition error
Browse files Browse the repository at this point in the history
  • Loading branch information
Icemap committed Aug 30, 2023
1 parent bed2a2a commit 52f0c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env.sh.example
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 52f0c30

Please sign in to comment.