mysql 时间

1. 设置时区

vim my.cnf

在mysqld下添加

default-time_zone='+8:00'

然后重启mysql

千里之行,始于足下
原文地址:https://www.cnblogs.com/trydoit/p/7262694.html