Is timestamp in mysql cached when retrieved in different timezones?

送分小仙女□ 提交于 2019-12-13 00:50:06

问题


In the MySQL 5.6 Manual, it says:

MySQL converts TIMESTAMP values from the current time zone to UTC for storage, and back from UTC to the current time zone for retrieval.

but if I have different connections with different timezones, will the timestamp value be cached?


回答1:


According to OZ_ here:

Another one difference: queries with "native" datetime will not be cached, but queries with timestamp - will be. – OZ_ Apr 28 '11 at 17:37

But I cannot find any confirmation of this by Googling, and he doesn't provide a link.



来源:https://stackoverflow.com/questions/22894311/is-timestamp-in-mysql-cached-when-retrieved-in-different-timezones

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!