[mythtv-users] 'mythtv could not connect to the database' insanity

Darac Marjal mailinglist at darac.org.uk
Thu Jun 26 13:22:27 UTC 2014


On Wed, Jun 25, 2014 at 03:35:39PM +0100, 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.

Just a thought about a common gotcha. I'm not sure if this applies to
mythtv, but it *does* to the standard mysql utilities.

If you refer to your database server as "localhost", then the database
will be accessed via a local socket (mysql.sock). If you refer to your
database server as "127.0.0.1", "::1" or any other IP address, then
TCP/IP networking will be used (which is often disabled when you first
install mysql).



More information about the mythtv-users mailing list