studyaccount_01

学习经验

Mybatis学习历程

IDEA报错

  • 报错信息:

    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.
    studyaccount_01

  • 报错原因:

    • 配置文件中<dependency>标签中中使用的MySql驱动版本过高
  • 解决方法:

    • 降低sql版本
    • 将SqlMapConfig.xml文件中url的value加上“?serverTimezone=UTC&ampcharacterEncoding=utf8”
      studyaccount_01
上一篇:springboot启动过程中出现You must configure either the server or JDBC driver (via the serverTimezone configu


下一篇:idea连接mysql报错Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTim