我这里使用报错

来源:3-12 创建项目-2

慕虎146535

2019-10-12

Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project user-center: 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.

写回答

1回答

大目

2019-10-12

你们好,帮忙贴一下:

  1. 您的MySQL版本

  2. 您mybatis generator的配置

对于mysql 5.x,可以参考这篇文章解决:https://www.cnblogs.com/liaojie970/p/8916568.html


0
2
大目
回复
慕虎146535
可以改,不过不改应该也可以的,只需要在连接数据库的url上加上参数就可以啦。
2019-10-14
共2条回复

Spring Cloud Alibaba微服务从入门到进阶

面向未来微服务:熟练掌握Spring Cloud Alibaba

3085 学习 · 1324 问题

查看课程