ERROR 2013 (HY000): Lost connection to MySQL server during query

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?!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.