[prev in list] [next in list] [prev in thread] [next in thread]
List: mythtv-dev
Subject: Re: [mythtv] [mythtv-commits] mythtv branch master updated by gigem. v0.26-pre-525-g7fb9747
From: Bill Meek <keemllib () gmail ! com>
Date: 2012-06-12 21:49:03
Message-ID: 4FD7B94F.2010900 () gmail ! com
[Download RAW message or body]
On 06/12/2012 04:16 PM, R. G. Newbury wrote:
...
>
> Then loading the zoneinfo tables needs to be done in the mysql setup ( or in mc.sql \
> for trunk installs), Problem is that the 'usual' route of "mysql_tzinfo_to_sql \
> /usr/share/zoneinfo | mysql -u root -ppassword mysql" requires entry of the mysql \
> root password.
> So it cannot be done in mysql_prepare_db as ExecStartPre in mysql.service.
>
> This *is* messy. And there seems to be no way around it.
...
Hi;
Speaking only for *buntu, the following could live in the upstart
file /etc/init/mysql.conf. That way if the zoneinfo changed, at
least if would be updated the next time mysql started.
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql \
--defaults-file=/etc/mysql/debian.cnf mysql
I don't know if other distributions have access to a similar maintenance password.
--
Bill
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic