> Awesome, thanks to you I've manage to figure I can't use localhost, it has to be 127.0.0.1. :D
Is worth being able to be aware what your mysqld is listening on anyway?
Check "netstat -lutnp" on gnu-linuxy-type-system -- shows you UDP/TCP
listening sockets.
Maybe "netstat -an" or similar will tell you similar on Windows?
May well be the case that mysqld is listening only for legacy internet
loopback connections (i.e. bound only to 127.0.0.1) or only for
legacy connections (but works from other legacy machines) --
(i.e. bound to 0.0.0.0).
Whereas, the 'hosts' file (in system32\etc on windows?) MAY have
"localhost" pointing to both ::1 and 127.0.0.1 maybe? Some systems
(at least used to) have a separate "ip6-localhost" but now "localhost"
tends to have both in my experience....
Worth, in any case, learning how to check /being *aware* of what
socket(s) your daemons are listening-on....
Hope that helps you notice/think-about what is going on and hopefully
avoid future problems of similar nature in various contexts.
--Simon