Solution: when connecting to the database, change usessl = true to usessl = false. Of course, if usessl = true is not written, it is true by default.
Note: however, I don’t know why I did it. What’s more, the tutorial I read only uses true, and why I report an error. If a boss sees it, he hopes to answer it.
Read More:
- How to Fix Exception in thread “main“ com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
- Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure (How to Fix)
- When executing hive – f script com.mysql.jdbc . exceptions.jdbc4 .CommunicationsException: Communications link failure
- solve com.mysql.jdbc . exceptions.jdbc4 .MySQLSyntaxErrorException:
- java.lang.ClassNotFoundException : com.mysql.jdbc . driver project cannot connect to database, exception, lack of MySQL driver
- java.lang.AbstractMethodError:com.mysql.jdbc.Connection.isValid(I)Z
- Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
- com.microsoft.sqlserver . jdbc.SQLServerException : invalid object name ‘XX’
- Encapsulation of adding, deleting and modifying database by JDBC
- Analysis of JDBC connection to MySQL
- After switching the tidb database, an error could not commit JDBC transaction appears from time to time
- In the XML configuration file of spring jdbc.properties The connection to the database failed due to garbled code
- django.core.exceptions . improveconfigured: error loading MySQL DB module. Django configuring MySQL database
- How to solve the problem of “08001” when JDBC connects to MySQL
- com.mysql.cj.exceptions.NumberOutrange
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Solutions to errors in the final running of JDBC programming
- Springboot2.0.4.release report error executing DDL via JDBC statement
- About the error querying database. Cause: java.lang.nullpointerexception reported in mybatis
- Error querying database. Cause: java.util.ConcurrentModificationException