Tag:Mysql8 hours
-
Solution to the problem of eight hours difference in MySQL insertion time
Solve the problem of eight hours difference in MySQL insertion time Generally, several parameters need to be added to the JDBC URL, and most of the tutorials given by blogs areuseSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTCThese parameters, The configuration results are as follows:jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC To solve the time zone problem, I used to use servertimezone = UTC. Until today I stepped […]