Changing the connection timezone in MySQL

前端 未结 6 750
情话喂你
情话喂你 2020-12-28 14:07

My server is running in MDT

So I used following one to convert EST

SET  time_zone = \'-5:00\'

But, how c

6条回答
  •  悲哀的现实
    2020-12-28 15:00

    For Linux, BSD, and Mac OS X if you need to load the timezone table do this:

    $ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -uroot mysql
    

提交回复
热议问题