异常:com.mysql.cj.core.exceptions.InvalidConnectionAttributeException
提示: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.
大致原因:jdbc的时区有问题
解决方法:url改为 :jdbc:mysql:///unicom?serverTimezone=UTC
网友评论