View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 19 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Apr 23, 2013 5:26 pm 
Offline
Joined: Tue Sep 12, 2006 12:12 am
Posts: 18
Location: Melbourne, VIC, Australia
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


Top
 Profile  
 
PostPosted: Wed May 01, 2013 2:22 pm 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
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

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 
PostPosted: Thu May 02, 2013 7:42 pm 
Offline
Joined: Tue Sep 12, 2006 12:12 am
Posts: 18
Location: Melbourne, VIC, Australia
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


Top
 Profile  
 
PostPosted: Mon May 06, 2013 1:16 am 
Offline
Joined: Mon Apr 23, 2007 1:45 pm
Posts: 405
Location: Fargo, ND, USA
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

_________________
TVBox
LinHES R8.6.1


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu