March 8, 2010
In January of 2008 I wrote the post: Restore your WordPress Database From Mysql 4 to Mysql 5 Recently I had the need to update a blog for a friend trying to come out of the dark ages and update his WP blog from 2.6 to 2.9.2. He ran the autoupgrade which progressed along removing his old files till at the end it went to update the database. He still had MYSQL 4.0 . WP 2.9.2 won’t run on MYSQL 4.0. The process hung right there. No way to go back, no way to go forward.
Note to WP, you probably should check the database version first, BEFORE updating all the WP files.
I got the call for “HELP”. I had a copy of 2.6 and was able to get his blog back up and running. It was time to upgrade his MYSQL. He was on Godaddy hosting. I decided to try a simple upgrade approach knowing I could do it the old way from the previous post sited above.
The simple way worked perfectly.
The final step is to change your wp-config.php file to point to your new 5.0 database. That’s all there is to it.
If you have a different hosting company the routine might have a different way of backing up and restoring, but the process should work.
Once this was done, it was a simple auto-upgrade. Yes, the jump from 2.6 to 2.9.2 went off without a hitch. But don’t assume it will for you. It all depends on your theme and plugins.
Filed under How To