I think this is actually a "feature" of the client library. If you
specify "localhost" it uses the local socket (or named pipe on windows)
to connect. To force it to use TCP/IP as you have correctly spotted, use
the loopback interface (127.0.0.1)

It has been this way for quite some time as I was aware of this
behaviour very early on in my PHP development days which must have been
version 3 or 4.

-- 
MySQL Query Browser ignores port number
https://bugs.launchpad.net/bugs/155466
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to