1.The server time zone value is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support
使用root用户登录mysql,set global time_zone = '+8:00';
2.MySQL6.0之后Driver名由“com.mysql.jdbc.Driver”改为“com.mysql.cj.jdbc.Driver”。
3.The connection property ‘zeroDateTimeBehavior’ acceptable values are: ‘CONVERT_TO_NULL’, ‘EXCEPTION’ or ‘ROUND’. The value ‘convertToNull’ is not acceptable.
MySQL6.0之后zeroDateTimeBehavior=convertToNull改为zeroDateTimeBehavior= CONVERT_TO_NULL