Error message:Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project hzl-vehicle: Communications link failure
Reason:MySQL needs to specify whether to connect to SSL in higher versions
The & symbol is recognized as a special character in the idea, so replace the &. with an escape character;
<! –> Database connection configuration –>
<jdbcConnection driverClass=”com.mysql.jdbc.Driver”
connectionURL=”jdbc:mysql://localhost:3306/hzl_repair?useUnicode=true&useSSL=false”
userId=”hzl” password=”hzl_repair” />
Similar Posts:
- For the problem of establishing SSL connection in mysql, set usessl = false to explicitly disable SSL, or set usessl = true
- [Solved] Springboot Project Connect MYSQL Error: Establishing SSL connection without server’s identity verification is not recommended.
- Solutions to database connection problems: “connections could not be acquired from the underlying database!”
- WARN: Establishing SSL connection without server’s identity verification is not recommended.
- [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&
- Logstash output jdbc Error: java.lang.IllegalAccessError: tried to access class com.mysql.jdbc.EscapeProcessor from class com.mysql.jdbc.ConnectionImpl
- [Solved] spark Connect hive Error: javax.jdo.JDODataStoreException: Required table missing : “`DBS`” in Catalog “” Schema “”
- MySQL connection error no suitable driver found [How to Solve]
- [Solved] JMeter Use the JDBC linker Error: Unknown initial character set index ‘255’ received from server.initial client character
- SSM Project Error: java.sql.SQLException: Access denied for user ‘????…§’@’localhost’ (…