错误原因
要生成的表在其他数据有同名表。
解决方案
<jdbcConnection>
标签内的connectionURL中加入一个字段:nullCatalogMeansCurrent=true
e.g.
<jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:2206/db?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone = GMT&nullCatalogMeansCurrent=true"
userId="root" password="123456">