[mythtv-users] trouble with mythbackend service on non-master

Scot L. Harris webid at cfl.rr.com
Mon Sep 26 12:54:30 UTC 2005


On Mon, 2005-09-26 at 01:53, Ben Norling wrote:
> I've set up a myth network with a master backend and a
> non-master backend.  On the non-master backend, I can
> start the mythbackend manually and it works fine, but
> if I try to start it as a service, it give the
> following error 
> 
> 2005-09-22 22:29:59.029 Failed to init MythContext,
> exiting.
> 2005-09-25 22:45:17.483 New DB connection, total: 1
> 2005-09-25 22:45:17.584 Unable to connect to database!
> 2005-09-25 22:45:17.586 Driver error was [1/2002]:
> QMYSQL3: Unable to connect
> Database error was:
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> 
> Has anyone else run into this?  
> 
> Thanks.

Most likely you have more than one mysql.txt file.  And the one used
when you try to start it as a service does not point to your master
backend system.  Search for all mysql.txt files and make sure they are
all consistent with each other.  find / -name mysql.txt -print





More information about the mythtv-users mailing list