<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>

<pre>Hi there,<br>I am guessing it's the user that is trying to start mythtv that's the problem. When you<br>manually start mythtv-backend, do you use sudo in your command? What user do you log in<br>with? Also, how does your hosts file look? What ip do you have in the mythtv-setup?<br>I am not entirely sure how to help but it sounds like the user that is being used to <br>start mythtv when the machine starts up isn't allowed to connect to the database<br>but when you use sudo, that works because root can access anything. I think? Sorry<br>I couldn't be more help.<br><br>Daniel<br><br>[Hello,<br>[    I have a remote backend running on ubuntu 7.10.  I have the<br>[mythtv-backend service set to start on boot, but it never gets started<br>[so I have to manually sudo /etc/init.d/mythtv-backend anytime the<br>[computer is rebooted, and it connects fine.  I just took a look at the<br>[logs and it appears that the backend is starting at boot but failing<br>[to connect to the database on the master.  I have the right hostname<br>[and mysql password in /etc/mythtv/mysql.txt.   Any suggestions?  Here<br>[is what my log looks like:<br>[#this is from the startup<br>[2007-12-03 09:22:52.672 Using runtime prefix = /usr<br>[2007-12-03 09:22:53.466 New DB connection, total: 1<br>[2007-12-03 09:22:56.726 Unable to connect to database!<br>[2007-12-03 09:22:56.741 Driver error was [1/2003]:<br>[QMYSQL3: Unable to connect<br>[Database error was:<br>[Can't connect to MySQL server on 'Pvt-Hudson' (113)<br>[ <br>[QSqlQuery::exec: database not open<br>[QSqlQuery::exec: database not open<br>[2007-12-03 09:23:02.831 DB Error (KickDatabase):<br>[Query was:<br>[SELECT NULL;<br>[No error type from QSqlError?  Strange...<br>[2007-12-03 09:23:02.882 Failed to init MythContext, exiting.<br>[ <br>[#this is after restarting the service manually.<br>[2007-12-03 09:29:46.175 Using runtime prefix = /usr<br>[2007-12-03 09:29:46.191 New DB connection, total: 1<br>[2007-12-03 09:29:46.250 Connected to database 'mythconverg' at host: Pvt-Hudson<br>[2007-12-03 09:29:46.261 Current Schema Version: 1160</pre></body>
</html>