The mysql.time_zone_transition
table is one of the mysql
system tables that can contain time zone information. It is usually preferable for the system to handle the time zone, in which case the table will be empty (the default), but you can populate the mysql
time zone tables using the mysql_tzinfo_to_sql utility. See Time Zones for details.
In MariaDB 10.4 and later, this table uses the Aria storage engine.
In MariaDB 10.3 and before, this table uses the MyISAM storage engine.
The mysql.time_zone_transition
table contains the following fields:
Field | Type | Null | Key | Default | Description |
---|---|---|---|---|---|
Time_zone_id |
int(10) unsigned |
NO | PRI | NULL |
|
Transition_time |
bigint(20) |
NO | PRI | NULL |
|
Transition_type_id |
int(10) unsigned |
NO | NULL |
SELECT * FROM mysql.time_zone_transition; +--------------+-----------------+--------------------+ | Time_zone_id | Transition_time | Transition_type_id | +--------------+-----------------+--------------------+ | 1 | -1830383032 | 1 | | 2 | -1640995148 | 2 | | 2 | -1556841600 | 1 | | 2 | -1546388400 | 2 | | 2 | -1525305600 | 1 | | 2 | -1514852400 | 2 | | 2 | -1493769600 | 1 | | 2 | -1483316400 | 2 | | 2 | -1462233600 | 1 | | 2 | -1451780400 | 2 | ... +--------------+-----------------+--------------------+
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/mysqltime_zone_transition-table/