WordPress Database Update Required – [Fixed]
WordPress database update required issue is widespread whenever you upgrade your WordPress website manually. You will see the message on your WordPress admin login page as a “database update required.” This will also identify as WordPress database update required a loop. We have a straightforward solution to solve database update required issue on your WordPress website.
WordPress Database Update Required Message
This is due to a mismatch between the database versions you said you are using in the settings. Sometimes, when you update the WordPress database by click on the button says “Update WordPress Database,” but it does nothing. The browser rounded and then shows a blank white page on the WordPress website on top. Also called WordPress White Screen Of Death
Note: before you change anything in your WordPress website, make sure take a copy of backup of your website.
WordPress regularly update their self to improve WordPress security of your website and framework. We will always advise you to update your WordPress website and WordPress plugins with a stable release. Do you have to try SEO optimization for WordPress website?
WordPress Database Update Required Solution
The site URL in the WP_Options table must be populated to the home page of the website.
You can check this from the PhpMyAdmin
Log into cPanel >> Click on PhpMyAdmin >> Select the database from left side >> Click on the table “WP_Options” >> Check the siteURL option.
Steps to solve WordPress database update required issue:
- Go to /wp-includes/ folder and open the version.php.
- Find the value for $wp_db_version, and write it down.
- Now, open your database, check-in the table called wp_options
- Find the db_version value: SELECT option_value FROM your database wp_options WHERE option_name = ‘db_version’;
- Those two values must be the same. Change it in the version.php file, not the database.
Conclusion: We have personally followed these steps whenever we face a WordPress database update required issue on our site. There is no harm or loss of your site by updating your version and database version to the same.
Great article I love to read you article.
Have a nice day sir
Thank you, Vishal
Dear Ramiz Syed, thank you very much for posting this. lt precisely pinpointed the issue I was struggling with, specifically a WordPress loop from “Database Update Required” to “Update Complete.”
This solved the problem.
Appreciate your help very much!
Hello Ed Miles,
Thank you for sharing your experience with us.
Really appreciate your help.
Worked like a charm. Thanks
Perfectly worked,
thank you for your short and effective solution
Hello. This article fixed the issue for me but, still, I think it must be a reason why the DB option wasn’t updated and I think it must be a reason for which these 2 exists (PHP variable and DB option). SO, even if the site works, if the db options wasn’t updated, could be some queries that weren’t executed or something? Is there a way to execute these db updates manually directly in DB manager? Where are these queries physically located after the files have been updated?
Thanks,
Ciprian
Hi Ciprian,
This might be due to various server configuration.
For manual update we have to do from WordPress admin dashboard only.
i am able to login by changing the version.php file but the login dashbard page is distorted and none of the page opens up in the dashboard.
It is not redirecting to the update database page also.
I tried to rename the plugin folder also.
Can anyone through some pointers