I'm having a weird issue on the timezone used by a MySQL server running on a Windows Server 2012
Things I have done:
- set the default timezone in my.ini file, in this case default-time-zone=America/Chicago
- ensure I'm using that actual ini file
- check the timezone variable actually used by MySQL which say SYSTEM
- loaded some timezone tables into MySQL data folder, cause I read in windows those tables aren't there by default
- check server actual time which is correctly set to UTC-06:00, same time as Chicago
- run a select now() statement
The last item in the list is returning me a different time, five hours ahead, one thing is that when I restart the server for some time the timezone is correctly set to Chicago time, but after a few days, it got back to the incorrect one, always 5 hours ahead.
I have no idea why this is happening.