vim /etc/my.cnf
[mysqld]
default-time_zone = '+8:00'
重启mysql服务。
/etc/init.d/mysqld restart

未测试

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案