MySql的時(shí)區(qū)(serverTimezone)引發(fā)的血案
https://www.cnblogs.com/zhuitian/p/12436300.html
java 解決date 類(lèi)型的時(shí)間插入mysql中差8小時(shí)
https://www.shangmayuan.com/a/d0aa20937e0f491091077ea1.html
?
spring.datasource.url=jdbc:mysql://localhost:3306/xxxdb?characterEncoding=utf8&useSSL=false&serverTimezone=CTT
本文摘自 :https://www.cnblogs.com/