I installed a host of ubuntu updates, and it seems to have messed something up on my server.
Initially, mysql was not running, but I've fixed that problem.
I have verified that I can log into mysql as the mythtv user using the password that I've always used.
I found that the config.xml and mysql.txt in /etc/mythtv were empty (0 bytes). I replaced those with backup copies.
On startup, myth backend fails. Any attempts to start it using "start mythtv-backend" also fail. Here are the last few lines of the log:
But when I run it from the command line as the mythtv user, it runs fine. Any ideas?
Jul 30 19:31:40 ZZTV mythbackend: E CoreContext mythdbcon.cpp:213 (OpenDatabase) Unable to connect to database!
Jul 30 19:31:40 ZZTV mythbackend: E CoreContext mythdbcon.cpp:214 (OpenDatabase) Driver error was [1/1045]:#012QMYSQL: Unable to connect#012Database error was:#012Access denied for user 'mythtv'@'localhost' (using password: YES)
Jul 30 19:31:42 ZZTV mythbackend: I CoreContext mythcontext.cpp:760 (UPnPautoconf) UPnPautoconf() - No UPnP backends found
Jul 30 19:31:42 ZZTV mythbackend: A CoreContext mythcontext.cpp:414 (FindDatabase) No UPnP backends found
Jul 30 19:31:42 ZZTV mythbackend: C CoreContext main.cpp:108 (main) Failed to init MythContext.