"localhost" doesn't work for $wgDBhost on Windows
Closed, DeclinedPublic

Description

Author: happy.melon.wiki

Description:
Cf http://bugs.php.net/45150. We should use "127.0.0.1" instead where necessary.


Version: unspecified
Severity: minor
OS: Windows Vista

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz22884.
bzimport created this task.Via LegacyMar 18 2010, 3:17 PM
demon added a comment.Via ConduitMay 7 2010, 3:15 PM

It would be nice to check if we can connect via the Unix socket and default to 127.0.0.1 if we can't. Haven't come up with some way to do that yet though.

Reedy added a comment.Via ConduitAug 7 2010, 1:00 PM

It's been marked as bogus

Peachey88 added a comment.Via ConduitAug 7 2010, 1:08 PM

This is due to IPv6 Support in windows at least (http://blogs.iis.net/donraman/archive/2010/06/11/php-5-3-and-mysql-connectivity-problem.aspx (Linked in the above report)), Do Linux systems also have the same issue and we just haven't picked up on it?

demon added a comment.Via ConduitAug 8 2010, 11:41 AM

Fixing summary (my fault anyway), this is about $wgDBhost, not about $wgServer.

demon added a comment.Via ConduitSep 9 2010, 4:59 PM

WONTFIX. Tweaked some help info in r72664, though.

See the commit and help tweak for more info.

Add Comment