[mythtv-users] More problems with non-master backend

PAUL WILLIAMSON pwilliamson at mandtbank.com
Sat Jun 25 13:51:04 UTC 2005


>>> kuphal at dls.net 06/22/05 10:16 AM >>>
> > PAUL WILLIAMSON wrote:
> > 
> >mythtvbe1 is the machine where I'm trying to get 
> > the non-master running.  When I try to start up 
> > mythbackend, I get this in my log:
> > 
> >2005-06-21 10:44:46.453 Failed to init MythContext, exiting.
> >2005-06-22 09:46:54.686 New DB connection, total: 1
> >2005-06-22 09:46:54.691 Unable to connect to database!
> >2005-06-22 09:46:54.693 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)
> >
> >2005-06-22 09:46:54.695 Failed to init MythContext, exiting.
> >
> >I don't have mysql running on the non-master, so 
> > there's no mysql.sock to connect to.  I can run the 
> frontend on the machine ok.
>
> Edit your mysql.txt file (or whatever that filename is, I'm 
> not at my machine right now) to point to the right database
> 
> Kevin


Thanks for the pointer.  I double checked that entry in both 
the mythtv (user for frontend) and made sure it was the 
same for the root entry.  

Do I need to nfs mount the location where the master 
backend mysql.sock is?  That doesn't seem right, as the 
frontend runs perfectly fine on this box.

Paul



More information about the mythtv-users mailing list