Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何更改mysql中的时区?我想将时区更改为 GMT,但我不知道如何。我想更改 my.cnf 文件。
转到[mysql]配置文件的部分并在该部分下输入此行
[mysql]
default-time-zone = '+00:00'
希望这会帮助你。