[mythtv-commits] Ticket #9756: DBHostName=localhost causes MythSocket to attempt to contact mysql on ::1 (ipv6 localhost)

MythTV noreply at mythtv.org
Thu May 5 22:09:05 UTC 2011


#9756: DBHostName=localhost causes MythSocket to attempt to contact mysql on ::1
(ipv6 localhost)
----------------------------------+----------------------------
 Reporter:  stuarta               |          Owner:
     Type:  Bug Report - General  |         Status:  closed
 Priority:  minor                 |      Milestone:  0.25
Component:  MythTV - General      |        Version:  Trunk Head
 Severity:  medium                |     Resolution:  fixed
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by Github):

 Don't ping DB port for localhost.

 Do not test to see if something is listening on the DB host and port if
 the DB host is localhost.  This change is required on systems that have
 localhost mapped to the ipv6 ::1 or that disable MySQL TCP/IP
 connections, after the change at 859ad36a6 (and, for users that specify
 127.0.0.1 for the DBHostName, the change at 3364c44e4).

 Users who changed to the routable IP address, rather than using
 localhost or 127.0.0.1 for the DBHostName while this was broken should
 change back, now, to get best performance.

 Fixes #9756.  Thanks to Chris Pinkham for finding the cause.
  Branch:    new-logging
  Changeset: 03f345115494ab6a64dfb4abac140bca462503ee

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9756#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list