MySQL Tip: MySQL Server Has Gone Away Or Lost connection to server during query Fix

A much dreaded MySQL error message during queries is "MySQL server has gone away". An alternative message is "Lost connection to server during query". This is a strange problem which afflicts a wide variety of PHP software including but not limited to WordPress. There are several causes for it. Let's look at the common and some rare causes and what you can do to fix it.

Full article (830 words) »

Server Security: How To Prevent Socket Hijacking on Windows

You can forcibly bind to the same address and port to which there is an open server socket by using SO_REUSEADDR option (ServerSocket.setReuseAddress(boolean on) in Java). Such reuse can be exploited by malicious applications to disrupt the functioning of the original server application and worse.

Full article (170 words) »

Protected by Comment Guard Pro