Get the App
SLTechnology News&Howtos  ›  Database  › 

Establishing SSL connection without server's ident

Shulou Source: shulou.com Published: 2022-06-01 16:26:31 10月30日 Update

Exception message:

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45mm, 5.6.26 + and 5.7.6 + requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

Cause of exception:

New version requirements

Solution:

Append a

UseSSL=false

At the end of the MySQL connection string

Tags: Information reason method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology vpn Redmi Docker