Comment 2 for bug 546616

Revision history for this message
Geoffrey Pursell (geoffp) wrote :

geoff@mythtv:/etc/mythtv$ ls -l
total 24
-rw-rw---- 1 mythtv mythtv 422 2010-03-24 23:05 config.xml
-rw-rw-r-- 1 mythtv mythtv 1122 2010-03-24 19:36 mysql.txt
-rw-r--r-- 1 root root 1990 2009-12-21 05:00 mythweb-canned_searches.conf.php
-rw-r--r-- 1 root root 4732 2009-12-21 05:00 mythweb-config.php
-rw-r--r-- 1 root root 1110 2009-01-26 11:38 session-settings

geoff@mythtv:/etc/mythtv$ cat config.xml
<Configuration>
  <UPnP>
    <MythFrontend>
      <DefaultBackend>
        <DBHostName>localhost</DBHostName>
        <DBUserName>mythtv</DBUserName>
        <DBPassword>Br9O078H</DBPassword>
        <DBName>mythconverg</DBName>
        <DBPort>0</DBPort>
      </DefaultBackend>
    </MythFrontend>
    <UDN>
      <MediaRenderer>d11d3572-6a68-4795-b247-dbcedd30fb72</MediaRenderer>
    </UDN>
  </UPnP>
</Configuration>

geoff@mythtv:/etc/mythtv$ cat mysql.txt
DBHostName=localhost

# By default, Myth tries to ping the DB host to see if it exists.
# If your DB host or network doesn't accept pings, set this to no:
#
DBHostPing=no

DBUserName=mythtv
DBName=mythconverg
DBType=QMYSQL3

# Set the following if you want to use something other than this
# machine's real hostname for identifying settings in the database.
# This is useful if your hostname changes often, as otherwise you
# will need to reconfigure mythtv (or futz with the DB) every time.
# TWO HOSTS MUST NOT USE THE SAME VALUE
#
#LocalHostName=my-unique-identifier-goes-here

# If you want your frontend to be able to wake your MySQL server
# using WakeOnLan, have a look at the following settings:
#
#
# The time the frontend waits (in seconds) between reconnect tries.
# This should be the rough time your MySQL server needs for startup
#
#WOLsqlReconnectWaitTime=0
#
#
# This is the number of retries to wake the MySQL server
# until the frontend gives up
#
#WOLsqlConnectRetry=5
#
#
# This is the command executed to wake your MySQL server.
#
#WOLsqlCommand=echo 'WOLsqlServerCommand not set'
DBPassword=Br9O078H
geoff@mythtv:/etc/mythtv$

That config.xml schema doesn't look right to me. Everything in the UPnP node?

Now, there's an empty config.xml file in $HOME/.mythtv, but I'm not sure why that would affect the backend at startup. I assume that mythbackend does not run as "geoff". The mysql.txt there is just a symlink to /etc/mysql.txt, anyway.