Thread:Project:Support desk/Database error in upgrading from 1.18 to 1.22/reply (4)

The database query indicates you are not running the web configurations script, but actually going to the page "Mw-config/index.php" on your wiki. Possibly you have rewrite rules set up that prevent you from accessing mw-config/index.php properly. If possible try running update.php from the command line, otherwise investigate getting to the actual web updater.