<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/25/2014 10:00 AM, Raymond Wagner
wrote:<br>
</div>
<blockquote cite="mid:53AB0028.5040703@wagnerrp.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 6/25/2014 11:47 AM, Douglas Peale
wrote:<br>
</div>
<blockquote cite="mid:53AAEF12.6070904@comcast.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 06/25/2014 08:05 AM, Anthony
Griffiths wrote:<br>
</div>
<blockquote
cite="mid:CAPU73_vzym-7nUCT8SmQwfVNvUuq2jKSmvCXmR+RTHH1A-9i+w@mail.gmail.com"
type="cite">
<div dir="ltr">mysqld is running, and I'm trying to run
mythtv-setup on the localhost machine, there's no remote
machine involved.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jun 25, 2014 at 3:39 PM,
Raymond Wagner <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:raymond@wagnerrp.com" target="_blank">raymond@wagnerrp.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 6/25/2014 10:35 AM, Anthony Griffiths
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm running fedora 20 64 bit and I've installed
mythtv twice, once using yum and the second using
git and compiling, both times I get stuck in an
insane loop of 'mythtv could not connect to the
database'. And trawling google I see no
straightforward solution to this which is nuts. How
do I get past this stuck point?<br>
I've tried creating a mysql databae called
mythconverg with user tony, and a password but I
still get back to this loop. I've disabled the
firewall but still no joy. This is really
frustrating so thanks for any help.<br>
</blockquote>
<br>
</div>
Check your process list to ensure the database server is
actually running. If you've told MythTV to access the
database from a network accessible address, make sure
your database server is actually configured to listen on
the network, and not just loopback. </blockquote>
</div>
</div>
</blockquote>
Having just gone through that issue, I'll point you at this
thread: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://forum.mythtv.org/viewtopic.php?f=36&t=151">https://forum.mythtv.org/viewtopic.php?f=36&t=151</a><br>
<br>
Basically, MythTV saves the database password in multiple
places. The current install tool does not do a good job of
making them all agree. You need to find out what the actual
password is and make sure that the backend, the frontend, the
backendsetup tool, and mythweb all have that same password.<br>
</blockquote>
<br>
MythTV only stores the password in one of two places. It stores
it in $MYTHCONFDIR/config.xml, if MYTHCONFDIR is defined, falling
back to $HOME/.mythtv/config.xml otherwise.<br>
<br>
</blockquote>
In a quick search, I found the MythTV data base password in three
places.<br>
/etc/mythtv/config.xml<br>
/etc/apache2/sites-available/mythweb.conf<br>
~/.mythtv/config.xml<br>
<br>
In my attempts to get MythTV working I ran into the following
combinations:<br>
I could run mythbackend, but the frontend could not access the
database.<br>
I could run backendsetup, but mythbackend could not access the
database, and the frontend failed because the backend was not
running.<br>
I could run the frontend and the backend, but mythweb would not run
(I'm not sure this one was database related)<br>
<br>
This tells me that the frontend has a different location to get the
database password than the backend, and that the backendsetup has a
different location to get the database password than the backend.<br>
<br>
MythTV was not working after installation.<br>
I did not get everything working until I had explicitly set the
database password, created an empty database, restored to it (I was
restoring a data base from a previous setup) and went and edited all
of the passwords to match the one I set.<br>
<br>
</body>
</html>