[mythtv-users] New installation errors

Dick Steffens dick at dicksteffens.com
Mon Sep 25 18:18:12 UTC 2017


I'm getting used to looking at logs. (I know, I should have done this 
before.)

I tried starting the backend this morning and then looked at the backend 
log. Right away there are a bunch of thread_unknown lines. I don't know 
if they make any difference or not, but then I see this:

Sep 25 11:03:25 Jetway mythbackend: mythbackend[15161]: N CoreContext 
mythcontext.cpp:505 (LoadDatabaseSettings) Empty LocalHostName.
Sep 25 11:03:25 Jetway mythbackend: mythbackend[15161]: I CoreContext 
mythcontext.cpp:513 (LoadDatabaseSettings) Using localhost value of Jetway
Sep 25 11:03:25 Jetway mythbackend: mythbackend[15161]: E CoreContext 
mythdbcon.cpp:229 (OpenDatabase) [DBManager0] Unable to connect to database!
Sep 25 11:03:25 Jetway mythbackend: mythbackend[15161]: E CoreContext 
mythdbcon.cpp:230 (OpenDatabase) Driver error was [1/1045]:#012QMYSQL: 
Unable to connect#012Database error was:#012Access denied for user 
'mythtv'@'localhost' (using password: YES)
Sep 25 11:03:25 Jetway mythbackend: mythbackend[15161]: C CoreContext 
main.cpp:132 (main) Failed to init MythContext.

So does this mean that the password isn't set correctly somewhere? Is it 
in the database, or is it in some configuration file?

I can access the database with the mysql monitor:

rsteff at Jetway:/var/log/mythtv$ mysql -u mythtv -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 134
Server version: 5.7.19-0ubuntu0.16.04.1 (Ubuntu)

And once in the monitor, I can connect to the mythconverg database:

connect mythconverg;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Connection id:    135
Current database: mythconverg

What am I missing here?

-- 
Regards,

Dick Steffens



More information about the mythtv-users mailing list