I create a table:
CREATE TABLE IF NOT EXISTS messages
  (id INT(11) NOT NULL AUTO_INCREMENT UNIQUE,
   someText TEXT,
   created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
   updated TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (id))
And I set the timezone for the session:
SET TIME_ZONE = '-00:00'
The timezone is set successfully (checked with SELECT @@session.time_zone; ).
However when I insert a new row, the created and updated field have a local offset (e.g. it writes 2017-04-06 23:00:00 while the UTC time is actually 2017-04-06 21:00:00).
Any idea what could be wrong?
