1.执行命令: mvn mybatis-generator:generate
2.报错信息:
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
3.解决方法:在数据库连接处添加
&useSSL=false 或 &useSSL=false
4.总结:
SSL(Secure Sockets Layer),安全套接字协议。useSSL=false:使用用户账号密码进行连接。