Set your MySQL server to UTC / GMT

Log in as root or similarly high-privileged user, then run this query:

SET GLOBAL time_zone = '-00:00';

Yes, that’s a negative zero. And it has to be a negative zero–or a positive one–or it won’t work. Because timezones are just so fun.

Leave a Comment

Your email address will not be published.