[mythtv-users] 0.26 upgrade issue

eric millham emillham at gmail.com
Sat Oct 27 17:22:59 UTC 2012


Hi, I am using mythbuntu and just upgraded to 0.26.

The backend will not connect if started as a service:
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: N thread_unknown
mythdirs.cpp:68 (InitializeMythDirs) Using configuration directory =
/home/mythtv/.mythtv*
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: I CoreContext
mythcorecontext.cpp:231 (Init) Assumed character encoding: en_US.UTF-8*
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: N CoreContext
mythcontext.cpp:493 (LoadDatabaseSettings) Empty LocalHostName.*
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: I CoreContext
mythcontext.cpp:501 (LoadDatabaseSettings) Using localhost value of htpc2*
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: E CoreContext
mythdbcon.cpp:216 (OpenDatabase) Unable to connect to database!*
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: E CoreContext
mythdbcon.cpp:217 (OpenDatabase) Driver error was [1/1045]:#012QMYSQL:
Unable to connect#012Database error was:#012Access denied for user
'mythtv'@'localhost'
(using password: YES)*
*Oct 27 11:16:19 htpc2 mythlogserver: mythbackend[14629]: C CoreContext
main.cpp:117 (main) Failed to init MythContext.*

*However, if I start from the command line it works just fine....*

I've read a lot of confusing posts about issues with config.xml but I can't
see anything wrong with mine:

*<Configuration>*
*  <UPnP>*
*    <UDN>*
*      <MediaRenderer>{b8823b01-7cc8-46bb-9fbc-76c4224db10</MediaRenderer>*
*    </UDN>*
*  </UPnP>*
*  <LocalHostName>htpc2</LocalHostName>*
*  <Database>*
*    <PingHost>1</PingHost>*
*    <Host>htpc2</Host>*
*    <UserName>mythtv</UserName>*
*    <Password>XXXXXX</Password>*
*    <DatabaseName>mythconverg</DatabaseName>*
*    <Port>3306</Port>*
*  </Database>*
*  <WakeOnLAN>*
*    <Enabled>0</Enabled>*
*    <SQLReconnectWaitTime>0</SQLReconnectWaitTime>*
*    <SQLConnectRetry>5</SQLConnectRetry>*
*    <Command>echo 'WOLsqlServerCommand not set'</Command>*
*  </WakeOnLAN>*
*</Configuration>*


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121027/50496f3e/attachment.html>


More information about the mythtv-users mailing list