mybatis链接mysql,启动服务报错:

java.sql.SQLException: 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:mysql://127.0.0.1:3306/onestep?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8

数据源后加 &serverTimezone=GMT%2B8  即可解决。

最新文章

  1. 0009《SQL必知必会》笔记05-表的创建与约束
  2. longitude
  3. SU Demos-03T-F Analysis-01Sugabor
  4. zabbix监控nginx
  5. Chapter 6 Windows下编译pycaffe
  6. [改善Java代码]警惕自增的陷阱
  7. 集成Facebook和Twitter的Model动画-b
  8. SPSS时间序列分析
  9. java cglib动态代理原理及样例
  10. 轻量级django 一
  11. XVIII Open Cup named after E.V. Pankratiev. GP of Romania
  12. oracle drop 表后 恢复
  13. IdentityServer4【Topic】之登陆注册
  14. ReactNative调试技术-真机调试
  15. oneNote2016代码高亮插件
  16. c++ 变量 常量
  17. 03-matplotlib-折线图
  18. /proc目录下文件详解
  19. Visual Studio 2017(VS2017) 企业版 Enterprise 注册码
  20. mysql向上递归&向下递归

热门文章

  1. 【python小随笔】List列表的常见函数与切片
  2. @codechef - KILLER@ Painting Tree
  3. flask 与celery
  4. 使用 Markdown Flow 画流程图
  5. MaxCompute 图计算用户手册(下)
  6. day15 web前端之css
  7. python 布尔型(bool)
  8. Java练习 SDUT-2240_织女的红线
  9. POJ-3186_Treats for the Cows
  10. Android 使用Toolbar+DrawerLayout快速实现仿“知乎APP”侧滑导航效果