I experienced the very same issue upgrading 2.0.5 to 2.1-Ella last night. I’ve since reverted back to the 2.0.5 version, however after running the upgrade – the necessary database updates were not made.
The server is running the necessary PHP (4.4.1) and MYSQL (4.0.27-standard) versions.
I deleted the necessary files first:
/wp-admin
/wp-includes
wp-*.php files;
EXCEPT wp-config.php
I then uploaded the new 2.1 files
I executed the upgrade by going to /wp-admin/upgrade.php which ran for less than a second. then went to my Admin panel and the errors started.
Going to the WRITE tab – the box on the right displaying the categories showed:
[Unknown column 'link_count' in 'where clause']
SELECT cat_ID FROM wp_categories WHERE category_parent = 0 AND ( link_count = 0 OR category_count != 0 OR ( link_count = 0 AND category_count = 0 ) ) ORDER BY category_count DESC
Going to the LINKS tab – the links displayed fine, however none of the links were assigned to a category. Additionally, when going into edit a link – the category box displayed the above error, and when trying to edit the link – same thing.
On the blog itself, the links list does not display, instead, I saw this error:
WordPress database error: [Table 'mydb_wp.wp_link2cat' doesn't exist]
SELECT category_id FROM wp_link2cat WHERE link_id = 109 ORDER BY category_id
WordPress database error: [Table 'mydb_wp.wp_link2cat' doesn't exist]
SELECT category_id FROM wp_link2cat WHERE link_id = 109 ORDER BY category_id
I had performed a brand new installation on a subdomain, in order to compare the two databases. The brand new install has no issues and the db tables were built perfectly. When I compared the two databases, however, it was clear that the database updates were not made during the upgrade process.
Backups are a good thing! ??
Planning on trying this again on another site I have (one that gets little to no traffic) and see if I experience the same issue.