MythTV Slave Backend - Notes
I have been trying to setup a MythTV "slave backend", but having problems.
I had no problems following the documentation, to get the remote frontend part going. I could watch recordings and videos that were on the master backend, with no problem.
However, when trying to run "service mythbackend start" on the slave, I would get the following error:
2006-01-18 18:01:02.709 Unable to read configuration file mysql.txt
2006-01-18 18:01:02.801 Writing settings file //.mythtv/mysql.txt
2006-01-18 18:01:02.968 New DB connection, total: 1
2006-01-18 18:01:03.056 Unable to connect to database!
2006-01-18 18:01:03.057 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)
I checked to make sure the mythtv user had a "/home/mythtv/.mythtv/mysql.txt" and it WAS pointing to the master backend. I then checked root's home folder (since I was starting the service as root) "/root/.mythtv/mysql.txt" and it was also pointing to the master backend. I could understand what was happening. I finally realized that it was something simple. The error in the logfile was way more literal than I realized. You actually have to go to "/" (/.mythtv/mysql.txt) and edit THAT file. So simple.
Now mythbackend starts without any problem! Hooray!
0 Comments:
Post a Comment
<< Home