How to set MySQL to use GMT in Windows and Linux

前端 未结 6 1512
春和景丽
春和景丽 2020-12-29 04:58

I\'m just trying to get MySQL to store time in GMT...

I\'ve read the documentation here: http://dev.mysql.com/doc/refman/5.1/en/time-zone-support.html

It say

6条回答
  •  梦毁少年i
    2020-12-29 05:11

    Yes, that's a server option for mysqld, and so should be put in the [mysqld] section.

    Also, regarding values, see The Definitive Guide to MySQL 5

提交回复
热议问题