mysql出现serverTimezone问题

jdbc:mysql://172.16.50.141:3306/tx-manager?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false

如果mysql的链接后添加serverTimezone=UTC这种时区语句没有作用的时候,在数据库中执行

set global time_zone = '+8:00';  

猜你喜欢

转载自www.cnblogs.com/Sora-L/p/12957905.html
今日推荐