MySQL: setting time_zone in my.cnf options file

后端 未结 6 2112
遥遥无期
遥遥无期 2020-12-17 15:03

In MySQL you can set a session variable called time_zone to change the timezone. This is useful e.g. when looking at timestamps from another country. Here i

6条回答
  •  既然无缘
    2020-12-17 15:23

    it should be

    default_time_zone=Brazil/East
    

    details : http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_time_zone

    Option-File Format = default_time_zone

提交回复
热议问题