So I have had the issue several times now where whenever I update WordPress it gives me the "DataBase update required" and then will not login in to the site. This happens every time I upgrade to the newest version of WordPress.
My fix for this issue is to set the db_upgraded field in wp_option table in the database and purging the cache.
However what I want to know is, how can I stop this happening again? What is happening to bring up this error? Why is WordPress ending up in this loop?
Now I could understand there could be various reasons but if anyone has had any success with solving this issue your help would be greatly appreciated.