When using mysql-java-5.1.41.jar for database connection, the following warning appears:
Establishing SSL connection without server’s identity verification is not recommended.
The reason is that MySQL needs to explicitly specify whether to make SSL connection in higher versions.
Just add SSL = true to the connection MySQL configuration file
connectionURL=” jdbc:mysql :// localhost:3306/xxxxx?useSSL=true “
Similar Posts:
- [Solved] Springboot Project Connect MYSQL Error: Establishing SSL connection without server’s identity verification is not recommended.
- For the problem of establishing SSL connection in mysql, set usessl = false to explicitly disable SSL, or set usessl = true
- [Solved] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6…
- Solutions to database connection problems: “connections could not be acquired from the underlying database!”
- [Solved] Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- [Solved] spark Connect hive Error: javax.jdo.JDODataStoreException: Required table missing : “`DBS`” in Catalog “” Schema “”
- [Solved] Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- [Solved] Mybatis-config Error: Cannot load connection class because of underlying exception: com.mysql.cj.exceptions.WrongArgumentException: failed to parse the connection string near ‘;useUnicode=true&
- [Solved] MySQL Error: com.mysql.cj.jdbc.util.TimeUtil.loadTimeZoneMappings(TimeUtil.java:163)
- SSM Project Error: java.sql.SQLException: Access denied for user ‘????…§’@’localhost’ (…