Title: Database Update Required Infinite Loop
Last modified: August 21, 2016

---

# Database Update Required Infinite Loop

 *  [modha88](https://wordpress.org/support/users/modha88/)
 * (@modha88)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/)
 * Hi, I upgraded to WP 3.5.2 the other day and now I can’t seem to get into my 
   back end at all. I’ve seen some people have had similar problems and have tried
   pretty much everything including manually updating WP 3.5.2, changing permissions
   via FTP and disabling plugins. Still no luck.
 * Every time I try to log in, I get this message:
 * ‘Database Update Required
 * WordPress has been updated! Before we send you on your way, we have to update
   your database to the newest version.
 * The update process may take a little while, so please be patient.’
 * I click Update and then get this:
 * Update Complete
 * ‘Your WordPress database has been successfully updated!’
 * But when I click Continue, it throws up the first message again. I have no idea
   what’s going on or how to fix it. Any help would be really appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960179)
 * Try:
    – switching to the default theme by renaming your current theme’s folder
   inside wp-content/themes and adding “-old” to the end of the folder name using
   [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management application
   your host provides.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or phpMyAdmin.
 * – re-uploading all files & folders – **except** the wp-content folder – from 
   a **fresh** download of WordPress. Make sure that you delete the old copies of
   files & folder before uploading the new ones.
 * – running the upgrade manually via wp-admin/upgrade.php
 *  [ravik1214](https://wordpress.org/support/users/ravik1214/)
 * (@ravik1214)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960190)
 * It seems that, some plugins are causing this issue. First of all, disable all
   plugin and check whether the same issue occurs or not? If you are still facing
   the same issue, download a fresh copy of WordPress files by visiting [http://www.wordPress.org](http://www.wordpress.org).
   Reupload all files and folders expect the wp-content.php folder otherwise it 
   will remove all of your contents. Once done, run the manual upgrade.
 *  Thread Starter [modha88](https://wordpress.org/support/users/modha88/)
 * (@modha88)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960191)
 * Hi guys, thanks for the replies. I have tried all of these with no luck!
 *  [jackstevens87](https://wordpress.org/support/users/jackstevens87/)
 * (@jackstevens87)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960308)
 * I am still having this issue and cannot get any joy trying anything, it is all
   very confusing.
    Does anyone know any way to fix this?
 *  [loudat](https://wordpress.org/support/users/loudat/)
 * (@loudat)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960309)
 * I’m in the same boat here. I’ve tried all the advice in the previous posts and
   I’m still stuck in the loop?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960310)
 * **[@loudat](https://wordpress.org/support/users/loudat/)** – if these solutions
   don’t work, please start your own thread per the forum guidelines.
 * [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * Include details about your site/hosting and what you have already tried.
 *  [loudat](https://wordpress.org/support/users/loudat/)
 * (@loudat)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960311)
 * Found a solution – for me at least:I changed the database number in
    **wp-includes\
   version.php**
 * My hosting is with Webfusion and I upgraded to WordPress 3.8 when things went
   tits up.
 * First I attempted to follow the instructions in this very handy link.
    [http://www.clickonf5.org/2247/solution-database-upgrade-required/](http://www.clickonf5.org/2247/solution-database-upgrade-required/)
 * Essentially access your databse via whatever method your hosting providor offers.
   
   Intructions on how to do this will probably be in a email from your hosting providor…
   somehwhere.
 * If you’re stuck for a user name and password have a look inside your wordpress
   install via FTP. There’s a file there called** wp-config.php
 * The Db username and Db password can be found in there
 * However when I tracked down suitable entry in phpMYadmin for updating the value
   of the databse version I din’t have permissions to edit it. Not sure why.
    But
   I did get the value and write it down… in this case the database version was “
   25824”
 * Then,
    via FTP I went into the WP-Includes folder found Verision.php
 * and edited the file so the values in version.php and the db_version entry in 
   the database matched. So it looks like this
 * **$wp_db_version = 25824**
 *     ```
       <?php
       /**
        * The WordPress version string
        *
        * @global string $wp_version
        */
       $wp_version = '3.8';
   
       /**
        * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
        *
        * @global int $wp_db_version
        */
       $wp_db_version = 25824
   
       /**
       ```
   
 * Then, hey presto, I was able to access my wordpress dashboard.
 * Hopefully this nonsense helps someone!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Database Update Required Infinite Loop’ is closed to new replies.

## Tags

 * [database update](https://wordpress.org/support/topic-tag/database-update/)
 * [update fail](https://wordpress.org/support/topic-tag/update-fail/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 6 participants
 * Last reply from: [loudat](https://wordpress.org/support/users/loudat/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/database-update-required-infinite-loop/#post-3960311)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
