Skip to main content

Posts

Showing posts from February, 2013

MySQL server has gone away

MySQL server has gone away for query MySQL server has gone away for query  Solution for “WordPress database error MySQL server has gone away for query …” If you have a WordPress blog and it is hosted on a shared server then you may want to continue reading.. For the past six months or so, my blog has been doing  weird  things.. like timing out, taking ages to load pages, sometimes the login page wouldn’t appear for me, etc.. Just random events occurring now and then.. or so I thought. Also my CPU utilisation was going through the roof, resulting in warnings from my  web host  to reduce it, or else risk my site going offline. So I decided to dig a bit deeper to try to find out the root cause of these issues. Error Log After logging into my website one day I noticed an  error_log  in the  /public/html  directory, So I opened it up to see what it contained, I was quite shocked when I discovered th...