mysql.time_zone_transition_type Table
The mysql.time_zone_transition_type
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_type
table contains the following fields:
Field | Type | Null | Key | Default | Description |
---|---|---|---|---|---|
Time_zone_id |
int(10) unsigned |
NO | PRI | NULL |
|
Transition_type_id |
int(10) unsigned |
NO | PRI | NULL |
|
Offset |
int(11) |
NO | 0 | ||
Is_DST |
tinyint(3) unsigned |
NO | 0 | ||
Abbreviation |
char(8) |
NO |
Example
SELECT * FROM mysql.time_zone_transition_type; +--------------+--------------------+--------+--------+--------------+ | Time_zone_id | Transition_type_id | Offset | Is_DST | Abbreviation | +--------------+--------------------+--------+--------+--------------+ | 1 | 0 | -968 | 0 | LMT | | 1 | 1 | 0 | 0 | GMT | | 2 | 0 | -52 | 0 | LMT | | 2 | 1 | 1200 | 1 | GHST | | 2 | 2 | 0 | 0 | GMT | | 3 | 0 | 8836 | 0 | LMT | | 3 | 1 | 10800 | 0 | EAT | | 3 | 2 | 9000 | 0 | BEAT | | 3 | 3 | 9900 | 0 | BEAUT | | 3 | 4 | 10800 | 0 | EAT | ... +--------------+--------------------+--------+--------+--------------+
See Also
© 2021 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_type-table/