• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

MySQL time zone

R

RicardoL

Guest
Hi everyone,

I upgraded from 9.x to 10.x a couple of weeks ago and since then I seem to be having problems with the time zone in my mysql server. Or at least, I think that's the problem.

The system time is correct and synchronized with an NTP server and it comes up ok if I check it on ssh, but for some reason mysql keeps substracting 6 hours. My first thought was that it was somehow stuck on GMT -5 (I'm on GMT +1 myself) but after editing the my.cnf file and adding a timezone=Europe/Madrid, nothing changed once I restarted the service.

Could anyone please give me any ideas or point me in the right direction?

Thank you so much in advance,

Ricardo.
 
Back
Top