There is an interesting case that I would like to solve, I've used exception notification via email and got the following mail that says:
MySql has gone away for query 'INSERT INTO sl_usermeta ( USER_ID, CREATED,DESIGNATION ) VALUES ( 7695, '2014-06-02 16:20:48', 'Manager')'.
This query executes in millisecond when I run this through MySQL. However the interesting fact to be noticed is there is a entry in database with the following values
UserID----CREATED------DESIGNATION
7695------2014-06-02-----16:21:16
I've checked the logs and found the user did not send the same request again. I want to ask if MySQL retries the same query once it comes back after going away?