[mythtv-commits] mythtv/master commit: 3364c44e4 by Michael T. Dean (sphery)
noreply at mythtv.org
Tue Apr 19 01:08:24 UTC 2011
Author: Michael T. Dean <mdean at mythtv.org>
Change Date: 2011-04-18T18:05:48-07:00
Push Date: 2011/04/18 18:08:22 -0700
New Revision: 3364c44e4e8731161b419587b1737c0482327ad2
Prefer the faster localhost DB connection, when appropriate.
If the user specifies a DBHostName of 127.0.0.1, but is using standard
MySQL port (3306), use a localhost connection, which will use a Unix
socket connection on *nix or shared memory connection on Windows.
If any user was relying on our previous assumption that specifying a
non-zero DBPort implied you wanted to use a TCP/IP connection, they may
need to specify an appropriate grant allowing access to MySQL via
localhost for the mythtv database user. If, for some strange reason, a
user wants to use the slower TCP/IP connection to a local MySQL server,
they will need to specify a routable IP address for DBHostName in their
This should fix the issue Robert K found after 859ad36, and prevent us
from using a slow TCP/IP connection when there's no good reason.
More information about the mythtv-commits