<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 8, 2014 at 7:30 AM,  <span dir="ltr">&lt;<a href="mailto:noreply@mythtv.org" target="_blank">noreply@mythtv.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
#12112: Error in <a href="http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables" target="_blank">http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables</a><br>
--------------------------------------+------------------------<br>
&nbsp; &nbsp; &nbsp;Reporter: &nbsp;pinnerite@&hellip; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp;Owner:<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Type: &nbsp;Bug Report - General &nbsp;| &nbsp; &nbsp; Status: &nbsp;new<br>
&nbsp; &nbsp; &nbsp;Priority: &nbsp;minor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp;Milestone: &nbsp;unknown<br>
&nbsp; &nbsp; Component: &nbsp;MythTV - General &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp;Version: &nbsp;0.27-fixes<br>
&nbsp; &nbsp; &nbsp;Severity: &nbsp;high &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; Keywords: &nbsp;Timezone<br>
Ticket locked: &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>
--------------------------------------+------------------------<br>
&nbsp;The site offers the line:<br>
<br>
&nbsp;mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p&lt;yourpassword&gt;<br>
&nbsp;mysql<br>
<br>
&nbsp;That did not work. This one did though:<br>
<br>
&nbsp;mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql --user=root --password=xxx<br>
&nbsp;mysql<br>
<br>
&nbsp;Just an edit needed to the web page.<br></blockquote><div><br></div><div>While what you show will work, so would:</div><div>&nbsp;</div><div>mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p&quot;&lt;yourpassword&gt;&quot;&nbsp;mysql<br>
</div><div><br></div><div>or</div><div><br></div><div>mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p&nbsp;mysql<br></div><div><br></div><div>which would prompt for the password (although I think that method is being deprecated?). Like Perl, there is more than one way to do it.</div>
<div><br></div><div>Tom</div></div></div></div>