Jun 30

Change Server Time Zone

To change the server time zone do the following steps

mv /etc/localtime /etc/localtime.bk
ln -s /usr/share/zoneinfo/Requiredtimezone /etc/localtime

After this you need to restart mysql to correct it mysql time.
Steps to check mysql and server time are correct

# date +%s
# mysql

Check if both time matches.

In WHM, you can do it in Main >> Server Configuration >> Server Time.

Leave a Reply

Your email address will not be published.