How large are the images that you're attempting to upload? It sounds like more than likely you are hitting the server's default wait_timeout=30
setting, limiting the time a single connection can be waited on to 30 seconds.
If you're uploading the same size images as you always have, there could be a possibility that at the time you attempted to upload them the SQL server was a bit backed up and caused it to take longer than 30 seconds. If you've increased the size or quality of your images, you might wish to scale them back so that they can upload quicker.
Taking a look at the database it looks like the last 2 entries have these sizes:
1 MB - 9/12 11:54PM
.58 MB - 9/12 11:52PM
So it very well could have been the time it took to upload one of these caused the issues. You might want to take a look at your coding and see if there is a way that you can handle all the uploading of your images prior to calling your mysql_connect
statement, so that the connection isn't held open waiting for the image to be uploaded but rather just called to update the database once the image is already there.
Please let us know if you're still having issues, or if you have any further questions.