[mythtv-commits] Ticket #13256: mythtv-setup Xubuntu 18.04

MythTV noreply at mythtv.org
Mon Oct 29 04:59:31 UTC 2018


#13256: mythtv-setup Xubuntu 18.04
----------------------------------+------------------------------
 Reporter:  mike.bibbings@…       |          Owner:  (none)
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  needs_triage
Component:  Packaging             |        Version:  v29-fixes
 Severity:  low                   |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+------------------------------

Comment (by trinitronx):

 Ok, looks like I can add an extra {{{<Database>}}} XML section under the
 {{{<Configuration>}}} tag.  This way it has both XML data structures, and
 the old code is able to find it.

 I was able to modify {{{/etc/mythtv/config.xml}}} to look like this:

 {{{
 <Configuration>
   <UPnP>
     <MythFrontend>
       <DefaultBackend>
         <!--
 Set the <LocalHostName> hostname override below only if you want to use
 something other than the machine's real hostname for identifying settings
 in the database.  This is useful if your hostname changes often, as
 otherwise you'll need to reconfigure mythtv every time.

 NO TWO HOSTS MAY USE THE SAME VALUE
 -->
         <DBHostName>127.0.0.1</DBHostName>
         <DBUserName>mythtv</DBUserName>
         <DBPassword>__SCRUBBED__</DBPassword>
         <DBName>mythconverg</DBName>
         <DBPort>3306</DBPort>
       </DefaultBackend>
     </MythFrontend>
   </UPnP>
   <Database>
     <Host>127.0.0.1</Host>
     <UserName>mythtv</UserName>
     <Password>__SCRUBBED__</Password>
     <DatabaseName>mythconverg</DatabaseName>
     <Port>3306</Port>
   </Database>
 </Configuration>

 }}}

 This was able to fix the {{{mysql}}} connection error when starting up
 {{{mythtv-setup}}}!


 These errors only look related to the case where you have set option
 {{{MythFillDatabaseArgs}}} in MySQL table: {{{settings}}}.  Seems to be
 for setting custom command line arguments when running
 {{{mythfilldatabase}}} automatically after {{{mythtv-setup}}} exits.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13256#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list