how to repair wordpress database automatically

how to repair wordpress database automatically

WordPress has facility to automatically repair the wordpress database. If there is an issue with wordpress database with wordpress version.

how to repair wordpress database automatically

If you upgraded the wordpress then this feature is very helpful.

wordpress API provided a facility to repair the wordpress database automatically.
We just need to put following code in your worpdress configuration file.

Open your wp-config.php file and put following code in that file. After following line you can put the code.
define(‘DB_COLLATE’, ”);


define(‘WP_ALLOW_REPAIR’, TRUE);

This functionality is very important for new or old users of wordpress who have no knowledge about wordpress codebase. If you are having issue or problem with wordpress database then just put above line in wp-config.php file.
Using this setting wordpress will automatically repair the tables with new upgraded version of wordpress.

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.