My understanding was:
- everything is UTC internally
- dates are displayed in @@session.time_zone timezone for current session
- if I do
INSERT
with+02:00
TZ set and insert2015-05-15 10:54
it is parsed and stored as2015-05-15 08:54
UTC. - when I change to
UTC
TZ it should now display2015-05-15 08:54
- what happens instead is that it still displays
2015-05-15 10:54
What am I doing wrong? Or is this expected? I read quite some articles about datetime in MySQL but I am still not sure.