Skip to content

Web Developer Blog

Change MySQL time to daylight savings time

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql

vim /etc/my.cnf
default-time-zone = ‘Australia/Sydney’

Reference: http://www.mysqlab.net/knowledge/kb/detail/topic/configuration/id/7090

Author adminPosted on October 16, 2014Categories Uncategorized

Post navigation

Previous Previous post: Deploy website to production server with GIT
Next Next post: Add email field to review form

Categories

  • No categories












Web Developer Blog Proudly powered by WordPress