Solution: mysql insert time is inconsistent with current time, mysql is slow for eight hours

show global variables like '%time_zone%'

Need eight hours

set global time_zone = '+8:00'

Refresh permissions:

flush privileges;

Close the connection tool and reconnect: eight hours have been added.

select now();

 

Guess you like

Origin blog.csdn.net/qq_33767353/article/details/108636444