[mythtv-users] 'mythtv could not connect to the database' insanity
Raymond Wagner
raymond at wagnerrp.com
Wed Jun 25 17:00:24 UTC 2014
On 6/25/2014 11:47 AM, Douglas Peale wrote:
> On 06/25/2014 08:05 AM, Anthony Griffiths wrote:
>> mysqld is running, and I'm trying to run mythtv-setup on the
>> localhost machine, there's no remote machine involved.
>>
>>
>> On Wed, Jun 25, 2014 at 3:39 PM, Raymond Wagner <raymond at wagnerrp.com
>> <mailto:raymond at wagnerrp.com>> wrote:
>>
>> On 6/25/2014 10:35 AM, Anthony Griffiths wrote:
>>
>> 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?
>> 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.
>>
>>
>> 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.
>>
> Having just gone through that issue, I'll point you at this thread:
> https://forum.mythtv.org/viewtopic.php?f=36&t=151
>
> 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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140625/91523ce2/attachment.html>
More information about the mythtv-users
mailing list