How to fix can not Update Database After Update WP Version?


I have a problem after update WordPress Version, when I’d like to access wp-admin, I find a message like this:

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.

Update WordPress Database


When I click on the button that says “Update WordPress Database” it does nothing. The browser spins and then shows me a blank white page with WordPress at the top.

How I fix can not Update Database After Update WP Version?

Step 1.

I change all plugin name via FTP. But this step not work.

Step 2.

I chage the active theme name via FTP. And this step not work

Step 3.

I manually upload wordpress via FTP. But this step not work too.

Step 4.

Add define('WP_ALLOW_REPAIR', true); at config.php then access mysite.com/wp-admin/maint/repair.php and follow the instruction:

How to fix can not update database after updating WP Version

How to fix can not update database after updating WP Version

But this step not work

Step 5.

I follow this steps:

  • Go to /wp-include/ folder and open the version.php.
  • Find the value for $wp_db_version, and write it down.
  • Then, open my database, check in the table called wp_options
  • Find the db_version value:
    • SELECT option_value FROM mydatabase.
    • SELECT wp_options WHERE option_name = 'db_version';
  • Those two values must be the same. And I find that the version not the same. I Change it in the version.php file, not the database.
  • I try to open wp-admin. And done. I success fix the problem can not Update Database After Update WP Version

Summase

Founder of Blogmarketingtool.com. I am Full time blogger, internet marketer, SEO specialist, web development. I love blogging to share my business and marketing experience.

Share information about How to fix can not Update Database After Update WP Version? if useful

How to fix can not Update Database After Update WP Version?

Tagged with
Post in | Last updated: December 27th, 2016 | Blogging Tips | 247 views

One Response so far.

  1. Mangmee says:

    Thank you, this helped a lot!