I'm trying to insert or update entries in a table, to Athens timezone. I'm using a shared hosting so I can't set global server timezone.
When I run this multiple query:
SET time_zone="Europe/Athens";
SELECT NOW();
I get the desired Athens time, but when I run something like:
SET time_zone="Europe/Athens";
UPDATE `db`.`tbl` SET `the_time` = NOW() , `foo` = '1' WHERE `tbl`.`id` = 100;
the time set the updated entry is still the server's time! Why is this happening and how can I fix this?