[MDEV-11175] \H option does not replace localhost with a host name Created: 2016-10-30 Updated: 2016-11-02 Resolved: 2016-11-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In I don't see it happen:
And from the code I don't see how it could ever work:
Note the capital L in the first line. In the original blog post it's both:
I don't know what Localhost part takes care of, but it's been there before, I suppose it's for a reason. Anyway, changing it back seems to make it work:
|
| Comments |
| Comment by Sergey Vojtovich [ 2016-11-02 ] |
|
See also my comment at PR#163: "Localhost" stands for UNIX socket, while "localhost" stands for TCP/IP. I added check for "localhost", but still it won't work if e.g. "127.0.0.1" was specified (or any other localhost alias). |