美文网首页
com.mysql.cj.exceptions.InvalidC

com.mysql.cj.exceptions.InvalidC

作者: 星星队长 | 来源:发表于2019-03-05 17:13 被阅读0次

    Caused by: com.mysql.cj.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.

    --
    数据库连接字符串追加 &serverTimezone=UTC
    明确指定数据库服务器时区

    相关文章

      网友评论

          本文标题:com.mysql.cj.exceptions.InvalidC

          本文链接:https://www.haomeiwen.com/subject/wspouqtx.html