Thread:Project:Support desk/MediaWiki 1.5 to 1.21 upgrade/reply (18)

You should not run single sql files on their own. Instead, after each update you should run maintenance/update.php. It will take care to apply the right changes as needed - this mechanism might now be broken for you now, as you have manually applied some of the changes (without being sure that you really did everything, what is needed).

To make sure nothing is broken, you should go back to the state from before you ran this sql file and then run update.php instead.