How to set MySQL to use GMT in Windows and Linux

前端 未结 6 1510
春和景丽
春和景丽 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条回答
  •  一整个雨季
    2020-12-29 05:13

    Screw this... DATETIME, although much easier on the eye when viewing tables, isn't worth this nightmare.

    I'm just going to use TIMESTAMP.

提交回复
热议问题