Comments - mysql_tzinfo_to_sql

5 years, 4 months ago Neil Davis

CentOS 7's MariaDB 10.2.21 default setup rpm has the wrong path to the timezone files set up in it's default configuration.

mysql_tzinfo_to_sql /usr/share/zoneinfo/right |mysql -u root mysql -p

fixed this issue and the apps that depend on MySQL for timezone info started displaying the timezone we're in, instead of UTC.

Cheers! -Neil

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.