Thread:Project:Support desk/Database error in upgrading from 1.18 to 1.22

Hi, I am trying to upgrade wiki 1.18 to 1.22. I uploaded wiki-22 files, copied Localsettings.php to the folder, ran mw-config/index.php from web browser, then got this error:

"A database query error has occurred. This may indicate a bug in the software."

How should I fix this error? Your help is much appreciated.

My current version: MediaWiki	1.18.0 PHP	5.3.24 (cgi-fcgi) MySQL	5.0.96-log

Thanks, Vikas