首页
技术
登录
6mi
u
盘
搜
搜 索
技术
如何解决数据库时区问题The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized or represents more than one tim
如何解决数据库时区问题The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized or represents more than one tim
技术
2023-11-02
101
如何解决数据库的时区问题
只需要在数据库连接地址上加上?serverTimezone=UTC即可解决时区的报错
比如
url: jdbc:mysql:
//localhost:3306/mybatis?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
转载请注明原文地址:https://ipadbbs.8miu.com/read-45760.html
最新回复
(
0
)