I spent two hours to debug why my $^#@! MySQL server refused to accept connections from remote clients. The firewall was ok, the grant rules too. The connections was interrupted with a nice:
ERROR 2013 (HY000): Lost connection to MySQL server during query
The server (running OpenBSD was compiled with ‘–with-libwrap’! I fixed my /etc/hosts.allow and it worked like a charm… Why is MySQL so poor in reportingerrors in a clear way?!