How To Fix Wordpress Blog Database Error: [MySql Server Has Gone Away]

Actually i’m so worried for the first time i’ve got this error on my wordpress blog: “MySql Server Has Gone Away”. I thought there’s a problem or something wrong with my Wordpress database or my webhosting, but actually it was because a problem that was related with MySql server itself.

I’ve just refer to here and found the actual caused:

“it shows that mysql might time out on your connection.
especially when mysql_connect in php, it actually reuse your old connection when calling mysql_connection (which is alike ms$ connection pooling )”

So, here’s how to fix it: just replace the original wp-db.php with the new one. The file is located@ wp-includes/wp-db.php (just overwrite the existing file).  This is the latest version of the fix. At first, rename the downloaded file to wp-db.php(from wp-db-2.3-fixed.phptxt) After that, you’re good to go!

Download the fix here

(the fix is from http://robsnotebook.com)







Suggest What Should We Write For The Next Post

Make Money Without Mailing List Get Chitika eMiniMalls Earn Easy Money With WidgetBucks! Unite in Acts of Kindness Community Message by: Blog.InternetGecko.com
You Comments, I'll Reply




Today In History

BlogMalaysia.com