--- Comment #9 from Alex Legler <> ---
(In reply to comment #8)
> It turns out that this fix is not as simple as thought. $wgDBport is set to
> 5432. If I make mysqli consider $wgDBport by default, all instances using
> mysqli on 3306 will be broken.

Can't this be refactored to default to null and be overwritten in the specific
database implementations should the value not be set by the user?

> Further, running PHP 5.6 it seems to be ok to
> use hostname:port. 
> So my attempt to fix this for now is to parse the port off the hostname. This
> needs to work for IPv4 and IPv6 as well. See
> Please review and comment.

That won't handle the syntax for persistent connections correctly which is

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to