Mysql Will Not Start After Upgrading From MySQL 4.x To MySQL 5.x

Edit /etc/my.cnf and make sure that the following line is commented out:

basedir=/var/lib