[mythtv] [GitHub] Set the default DB port to 3306 instead of making '0' mean default. [MythTV/mythtv 859ad36]

Daniel Kristjansson danielk at cuymedia.net
Thu Apr 14 23:51:16 UTC 2011

On Thu, 2011-04-14 at 15:29 -0400, Michael T. Dean wrote:

> > If DB port is set to anything other than 0 and the database host name is
> > localhost, we presume that the user--for some reason--wants to try a
> > TCP/IP connection to localhost, so we change the database host name to
> >  MySQL treats the localhost hostname specially and uses a
> > socket connection, rather than a TCP/IP connection.  I'm guessing you
> > haven't granted permissions allowing such a connection.

Hmmm, on the mysql command line at least localhost:0 and
mean something completely different. The first uses lightning fast unix
sockets to communicate directly with mysql and the other thunks all
the RPC through TCP/IP.

-- Daniel

More information about the mythtv-dev mailing list