为MySQL配置默认的全局时区,使用root用户登录mysql,然后执行
set global time_zone='+8:00'
select @@global.time_zone,@@session.time_zone
了解 工作生活心情记忆 的更多信息
Subscribe to get the latest posts sent to your email.
好记性不如烂笔头
为MySQL配置默认的全局时区,使用root用户登录mysql,然后执行
set global time_zone='+8:00'
select @@global.time_zone,@@session.time_zone
Subscribe to get the latest posts sent to your email.