当前位置: 代码迷 >> 综合 >> mysql No timezone mapping entry for ‘Asia/Shanghevidence‘
  详细解决方案

mysql No timezone mapping entry for ‘Asia/Shanghevidence‘

热度:49   发布时间:2023-09-19 18:51:57.0

springboot的java程序jdbc连接mysql数据库时,jdbc的连接配置成这样&serverTimezone=Asia/Shanghevidence导致以下报错

No timezone mapping entry for 'Asia/Shanghevidence'

将jdbc的连接改成&serverTimezone=Asia/Shanghai

  相关解决方案