Alarm logs difference in time and the system time of 8 hours

 

 

 

The default is log_timestamps UTC, the time difference between the system 8 hours linux
Solution:
SET GLOBAL log_timestamps = SYSTEM; (effective immediately, restart the mysql service, failure)

  

Permanent method, add the /etc/my.cnf
log_timestamps=system

  

Guess you like

Origin www.cnblogs.com/tonnytangy/p/11966344.html