There is a whole hour gap between the mysql database time and the front desk display

For example, the database time is: 2020-10-09 15:13:00

The display at the front desk is: 2020-10-10 01:13:00 Solution: First, enter date in linux to check whether the server time is CST (CST is China Standard Time)

If not, adjust the linux system time zone

And add &serverTimezone=GMT%2B8 to the database connection in the application configuration file

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324138841&siteId=291194637