> after an upgrade of sys-libs/timezone-data is good advice to update the
> mysql timezones tables too:
>
> # mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
>
> for details refer to
> http://dev.mysql.com/doc/refman/5.0/en/time-zone-support.html

also - contrary to most Distro installation docs (which includes Gentoo
;-) ):

In those docs, /etc/localtime ought to be copied from
/usr/share/timezone/XX/YY
Personally, I rather set a symlink than copy the file...
Has the following advantages:
 - It's clearly visible what's the configured timezone (by simply reading
the link text ;-) )
 - updates to timezone-data update system's timezone automagically

Drawbacks:
  according to FHS /usr may be a remote filesystem, but /etc/localtime has
to exist during boot.

Christian

-- 
[email protected] mailing list

Reply via email to