# cat /etc/timezone
Asia/Shanghai
or
# date +'%z'
+0800
MySQL [(ops-coffee.cn)]> show VARIABLES like '%time_zone%';
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | CST |
| time_zone | SYSTEM |
+------------------+--------+
2 rows in set (0.003 sec)