WordPress is a very useful and widely supported publishing tool but sometimes I think I’ll go totally bald or grey because of it. Especially when I realize my blog has been down for several hours.

example-mysql_queries-day

example_mysql_bytes-day

In case you’re having a WordPress blank page problem caused by ‘MySQL server has gone away’ – there is a solution that should work: http://robsnotebook.com/wordpress-mysql-gone-away

Since Rob stopped updating the page I attempted to use his solution for WordPress 2.9.1 and here’s my wp-db.php file for you to download and try using: http://www.smart-up.eu/img/wp-db.php.txt

Just remember to backup first in order to fallback to your original wp-db.php file if something goes wrong.

I hate to meddle with someone else’s code but what can you do. Sometimes you have to be a man, right?

Keep me posted if it works for you and I’ll let you know if I have any more of these unpleasant ‘MySQL server has gone away’ episodes.

» Subscribe to new posts by e-mail