[mythtv-users] Rip DVD from frontend?
Michael T. Dean
mtdean at thirdcontact.com
Sat Jan 7 17:50:46 UTC 2006
Matt Hannan wrote:
> Michael T. Dean wrote:
>> Dave Ansell wrote:
>>> When I try running mtd -n from a shell it gives the output
>>> listed below. Is this a setup problem on my frontend or am I just
>>> trying to do something impossible. There is no DVD reader in the
>>> backend and it is not readily accessible so not really an option to
>>> do from there.
>>> 2005-12-31 17:02:16.037 New DB connection, total: 1
>>> 2005-12-31 17:02:16.041 Unable to connect to database!
>>> 2005-12-31 17:02:16.041 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)
>> You need to configure your frontend machine (
>> http://mythtv.org/docs/mythtv-HOWTO-10.html ). If you've already
>> done this, make sure you're starting mtd as the same user that starts
> HMMM, I finally got tired of that mtd error message, so I just added
> it to /etc/rc.local:
> #Myth Transcode Daemon
> mtd &
This starts mtd as root. You should really run it as your mythtv user
(i.e. using su/sudo).
> I can't say I have had any issues with it running that way, and I
> start MythFrontend with my regular user account.
> I'll have to look at that again.
Since it works for both users, you've either configured your frontend
with <prefix>/share/mythtv/mysql.txt instead of ~/.mythtv/mysql.txt
(which is a good way of doing it) or you have ~/.mythtv/mysql.txt in
root's home, also (which, IMHO, is very ugly).
More information about the mythtv-users