参见英文答案 > The server time zone value ‘AEST’ is unrecognized or represents more than one time zone????????????????????????????????????9个
我的问题
MySQL连接器“服务器时区值中欧时间”无法识别或代表多个时区.
该项目
小型网站项目:
JavaEE,Tomcat 8.5,MySQL,Maven
我的尝试
> Maven – >将MySQL-connector格式6.x更改为5.1.39(无更改)
>编辑context.xml URL更改
context.xml中的连接
URL =“jdbc:mysql://127.0.0.1:3306 / rk_tu_lager?useLegacyDatetimeCode = false; serverTimezone = CEST; useSSL = false;
错误:
Caused by:
com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The
server time zone value ‘Mitteleurop?ische Sommerzeit’ 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.