Wednesday, October 13, 2010

How to synchronize MySQL time with server time?

This command

SET GLOBAL time_zone = 'SYSTEM';

If you can edit my.cnf file, set MySQL default timezone with this line

[mysqld]
default-time-zone='SYSTEM'

No comments:

Post a Comment