📅  最后修改于: 2022-03-11 15:04:57.484000             🧑  作者: Mango
value="jdbc:mysql://localhost:3306/dbname?serverTimezone=UTC"
in MYSQL do :(for french people, change the zone for u)
SET GLOBAL time_zone = 'Europe/Paris';
SET time_zone = 'Europe/Paris';
+ see spring configuration :
https://www.baeldung.com/mysql-jdbc-timezone-spring-boot