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!















