So what, if you are planning a centralized MySQL server and many
clients all around the world?
First of all, check the manual
Then install timezone description tables from here
Then run a small example to see how the server and client
timezones can interact.
Here is the standard server setup
mysql> show variables like 'time_zone';
+---------------+--------+
| Variable_name | Value |
+---------------+--------+
| time_zone | SYSTEM |
+---------------+--------+
1 row in set (0.00 sec)
Now add a table for our experiments
mysql> create table time_table (datetime_col datetime);
Query OK, 0 rows affected (0.11 sec)
Let's add some data in …