tokuhirom's blog

MySQLでタイムゾーンがどう設定されているか確認したい

mysql> select @@system_time_zone, @@session.time_zone;
+--------------------+---------------------+
| @@system_time_zone | @@session.time_zone |
+--------------------+---------------------+
| UTC                | SYSTEM              |
+--------------------+---------------------+
1 row in set (0.00 sec)

で。

Created: 2017-01-07 02:52:44 +0000
Updated: 2017-01-07 02:52:44 +0000