"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

Details

Reference
bz22884
bzimport set Reference to bz22884.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Mar 18 2010, 3:17 PM
demon added a comment.May 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.Aug 7 2010, 1:00 PM

It's been marked as bogus

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.Aug 8 2010, 11:41 AM

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

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

WONTFIX. Tweaked some help info in r72664, though.

See the commit and help tweak for more info.

Add Comment