LinHES Forums http://forums.linhes.org/ |
|
Mythwelcome question UN-SOLVED http://forums.linhes.org/viewtopic.php?f=21&t=23731 |
Page 2 of 2 |
Author: | Curto [ Tue Apr 23, 2013 5:26 pm ] |
Post subject: | Re: Mythwelcome question UN-SOLVED |
Tophee, Seeing tjc's post and re-reading your log reminded me that I had to put a mysql.txt in /home/mythtv/.mythtv. I "think" I might have obtained one from the web somewhere, but if you create your own below are the settings you need. Make sure you either create it as the mythtv user or Code: chown mythtv:mythtv mysql.txt mysql.txt Code: DBHostName=localhost
# By default, Myth tries to ping the DB host to see if it exists. # If your DB host or network doesn't accept pings, set this to no: # #DBHostPing=no DBPort=3306 DBUserName=mythtv DBPassword=mythtv DBName=mythconverg DBType=QMYSQL |
Author: | TVBox [ Wed May 01, 2013 2:22 pm ] |
Post subject: | Re: Mythwelcome question UN-SOLVED |
This is just added information I did a search of the complete R8 system for mysql.txt and found one here /usr/MythVantage/templates/mysql.txt +++++++++++++++++++++++ DBHostName=127.0.0.1 DBUserName=mythtv DBPassword=mythtv DBName=mythconverg DBType=QMYSQL3 # Set the following if you want to use something other than the # machine's real hostname for identifying settings in the database. # This is useful if your hostname changes often, as otherwise # you'll need to reconfigure mythtv (or futz with the DB) every time. # TWO HOSTS MUST NOT USE THE SAME VALUE # #LocalHostName=my-unique-identifier-goes-here # If you want your frontend to be able to wake your MySQL server # using WakeOnLan, have a look at the following settings: # # Set the time the frontend waits (in seconds) between reconnect tries. # This should be the rough time your MySQL server needs for startup #WOLsqlReconnectWaitTime=0 # # # This is the amount of retries to wake the MySQL server until the frontend # gives up #WOLsqlConnectRetry=5 # # # This is the command executed to wake your MySQL server. #WOLsqlCommand=echo 'WOLsqlServerCommand not set' +++++++++++++++++++++++++++++++ mysql.txt file permissions >> 0755 root root Curto file location I copied the file and pasted it to /home/mythtv/.mythtv and made no changes to the file. lockups on exit tjc file location I copied the file and pasted it to /root/.mythtv/ and made no changes to the file. lockups on exit TVBox |
Author: | Curto [ Thu May 02, 2013 7:42 pm ] |
Post subject: | Re: Mythwelcome question UN-SOLVED |
Did you change the permissions of the mysql.txt file? In the templates folder it is owned by root, so if you simply copied it then it will retain those permissions. The mythtv user won't be able to read it. As per my reply: Code: sudo chown mythtv:mythtv /home/mythtv/.mythtv/mysql.txt
|
Author: | TVBox [ Mon May 06, 2013 1:16 am ] |
Post subject: | Re: Mythwelcome question UN-SOLVED |
I changed the permissions for both location /home/mythtv/.mythtv >> 0755 mythtv mythtv /root/.mythtv/ >> 0755 mythtv mythtv neither one stops frontend lockup on exit. TVBox |
Page 2 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |