mybatis-generator:generate
报错信息:Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project hzl-vehicle: Communications link failure
原因:MySQL在高版本需要指明是否进行SSL连接
idea中会把&等符号识别为特殊字符要用转义字符替换&
<!--数据库连接配置-->
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/hzl_repair?useUnicode=true&useSSL=false"
userId="hzl" password="hzl_repair" />