mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #01030
[Bug 546616] Re: mythbackend cannot find mysql.txt after upgrade
No luck. I also have user directories for mythtv and root at
/home/mythtv and /root, respectively, and in those, I have
.mythtv/config.xml files that symlink back to /etc/mythtv/config.xml.
This:
2010-03-24 21:44:18.345 Using configuration directory = /.mythtv
Does not seem right. I feel like that should be /home/mythtv/.mythtv or
/etc/mythtv or /home/geoff/.mythtv.
Have a look at mythdirs.cpp, line 62.
http://www.google.com/codesearch/p?hl=en#-zNo3rQOo4A/mythtv/libs/libmythdb/mythdirs.cpp&q=myth%20%22using%20configuration%20directory%22&sa=N&cd=1&ct=rc
--
mythbackend cannot find mysql.txt after upgrade
https://bugs.launchpad.net/bugs/546616
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Incomplete
Bug description:
After upgrading to Mythbuntu 10.04 beta, mythbackend doesn't work.
It's unable to connect to the database, because it can't find mysql.txt, I suppose because in the service mythbackend's context, either MYTHCONFDIR is not set, or HOME is not set. Since I have a correct mysql.txt both in /etc/mythtv/ and in $HOME/.mythtv.
If I start mythbackend by hand in a terminal, it works fine.
It spews this continually:
................................................................................
2010-03-24 21:44:17.606 UPnPautoconf() - No UPnP backends found
2010-03-24 21:44:17.606 No UPnP backends found
No UPnP backends found
Would you like to configure the database connection now? [no]
[console is not interactive, using default 'no']
2010-03-24 21:44:17.608 Deleting UPnP client...
2010-03-24 21:44:18.218 Failed to init MythContext, exiting.
2010-03-24 21:44:18.344 mythbackend version: trunk [23623] www.mythtv.org
2010-03-24 21:44:18.345 Using runtime prefix = /usr
2010-03-24 21:44:18.345 Using configuration directory = /.mythtv
2010-03-24 21:44:18.345 Unable to read configuration file mysql.txt
2010-03-24 21:44:18.345 Empty LocalHostName.
2010-03-24 21:44:18.346 Using localhost value of mythtv
2010-03-24 21:44:18.352 New DB connection, total: 1
2010-03-24 21:44:18.359 Unable to connect to database!
2010-03-24 21:44:18.359 Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)
................................................................................
2010-03-24 21:44:20.917 UPnPautoconf() - No UPnP backends found
2010-03-24 21:44:20.917 No UPnP backends found
No UPnP backends found
Would you like to configure the database connection now? [no]
[console is not interactive, using default 'no']
2010-03-24 21:44:20.918 Deleting UPnP client...
References