2019-02-19 Had a frustrating experience and wasted work time because the principle of least surprise (POLS) is violated in mysql's special treatment of connections with the hostname `localhost'. In such cases the port is ignored (because IIRC not network sockets but local unix sockets are used). [0] Violating the principle of least surprise always has a cost! [0] https://debianforum.de/forum/viewtopic.php?f=34&t=172342&p=1198612#p1198612 http://marmaro.de/lue/ markus schnalke