SELECT * FROM mysql.time_zone; SELECT * FROM mysql.time_zone_name;
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
https://dev.mysql.com/doc/refman/5.5/en/mysql-tzinfo-to-sql.html
https://stackoverflow.com/questions/15017799/how-to-convert-utc-date-to-local-time-zone-in-mysql-select-query
时间: 2024-10-06 14:27:16