Thread:Project:Support desk/No login page after 1.21.3 to 1.22 upgrade - Uncommitted DB writes?/reply (19)

enable SQL Debug. This is the best option to check in your environmnent.

In my case the problem was in table interwiki, that already have column name 'iw_api', but did not have column 'iw_wikiid'.