TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.8k stars 2.08k forks source link

The time is not accurate, how to synchronize to become the latest time? #706

Closed TARS-Question closed 4 years ago

TARS-Question commented 4 years ago

Source code compiled, mysql is installed by docker

#706

TARS-Answer commented 4 years ago

The reason may be that the virtual machine is used to install centos. When mysql is installed, it is not mapped to the host machine. You can try to correct the time zone of mysql in docker. The time zone needs to be synchronized.

TARS-Answer commented 4 years ago

原因可能是使用虚拟机装centos,安装mysql时候没有映射到宿主机,可以尝试将docker里的mysql的时区改正,时区需要同步。