一、报错
在使用mybatis-generator生成逆向工程是报了错,错误如下:
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project crm-mybatis-generator: 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.
二、 解决办法
端口号写错了,应该是3306我写成了3308